Partilhar via


Construtor ServerPermissionSet (ServerPermission)

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

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

Sintaxe

'Declaração
Public Sub New ( _
    permission As ServerPermission _
)
'Uso
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
)

Parâmetros