Partager via


Constructeur ServerPermissionSet (ServerPermission[])

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

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

Syntaxe

'Déclaration
Public Sub New ( _
    ParamArray permissions As ServerPermission() _
)
'Utilisation
Dim permissions As ServerPermission()

Dim instance As New ServerPermissionSet(permissions)
public ServerPermissionSet(
    params ServerPermission[] permissions
)
public:
ServerPermissionSet(
    ... array<ServerPermission^>^ permissions
)
new : 
        permissions:ServerPermission[] -> ServerPermissionSet
public function ServerPermissionSet(
    ... permissions : ServerPermission[]
)

Paramètres