ServerPermissionSet Constructor (ServerPermission)

Initializes a new instance of the ServerPermissionSet class based on the specified permission.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub New ( _
    permission As ServerPermission _
)
'Usage
Dim permission As ServerPermission

Dim instance As New ServerPermissionSet(permission)
public ServerPermissionSet(
    ServerPermission permission
)
public:
ServerPermissionSet(
    ServerPermission^ permission
)
new : 
        permission:ServerPermission -> ServerPermissionSet
public function ServerPermissionSet(
    permission : ServerPermission
)

Parameters