Constructeur DatabasePermissionSet (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 ( _
permission As DatabasePermission _
)
'Utilisation
Dim permission As DatabasePermission
Dim instance As New DatabasePermissionSet(permission)
public DatabasePermissionSet(
DatabasePermission permission
)
public:
DatabasePermissionSet(
DatabasePermission^ permission
)
new :
permission:DatabasePermission -> DatabasePermissionSet
public function DatabasePermissionSet(
permission : DatabasePermission
)
Paramètres
- permission
Type : Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that specifies a single permission for a set of permissions with a single member.
Exemples
Octroi, révocation et refus d'autorisations
Voir aussi
Référence
Surcharge DatabasePermissionSet
Espace de noms Microsoft.SqlServer.Management.Smo