Partager via


ServerPermissionSet constructeur (ServerPermission)

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    permission As ServerPermission _
)
'Utilisation
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
)

Paramètres