Constructeur DatabasePermissionSet (array<DatabasePermission )
Initializes a new instance of the DatabasePermissionSet class.
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 DatabasePermission() _
)
'Utilisation
Dim permissions As DatabasePermission()
Dim instance As New DatabasePermissionSet(permissions)
public DatabasePermissionSet(
params DatabasePermission[] permissions
)
public:
DatabasePermissionSet(
... array<DatabasePermission^>^ permissions
)
new :
permissions:DatabasePermission[] -> DatabasePermissionSet
public function DatabasePermissionSet(
... permissions : DatabasePermission[]
)
Paramètres
- permissions
Type : array<Microsoft.SqlServer.Management.Smo.DatabasePermission[]
An array of DatabasePermission objects that specify the set of permissions.
Exemples
Octroi, révocation et refus d'autorisations
Voir aussi
Référence
Surcharge DatabasePermissionSet
Espace de noms Microsoft.SqlServer.Management.Smo