Constructeur DatabasePermissionSet (DatabasePermissionSet)
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 ( _
oDatabasePermissionSet As DatabasePermissionSet _
)
'Utilisation
Dim oDatabasePermissionSet As DatabasePermissionSet
Dim instance As New DatabasePermissionSet(oDatabasePermissionSet)
public DatabasePermissionSet(
DatabasePermissionSet oDatabasePermissionSet
)
public:
DatabasePermissionSet(
DatabasePermissionSet^ oDatabasePermissionSet
)
new :
oDatabasePermissionSet:DatabasePermissionSet -> DatabasePermissionSet
public function DatabasePermissionSet(
oDatabasePermissionSet : DatabasePermissionSet
)
Paramètres
- oDatabasePermissionSet
Type : Microsoft.SqlServer.Management.Smo.DatabasePermissionSet
A DatabasePermissionSet object that specifies a set of permissions.
Notes
The DatabasePermissionSet object is used to grant, deny, revoke, and enumerate database permissions (also known as statement permissions).
Exemples
Octroi, révocation et refus d'autorisations
Voir aussi
Référence
Surcharge DatabasePermissionSet
Espace de noms Microsoft.SqlServer.Management.Smo