Constructeur ObjectPermissionSet (ObjectPermission)
Initializes a new instance of the ObjectPermissionSet class based on the specified object permission.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
permission As ObjectPermission _
)
'Utilisation
Dim permission As ObjectPermission
Dim instance As New ObjectPermissionSet(permission)
public ObjectPermissionSet(
ObjectPermission permission
)
public:
ObjectPermissionSet(
ObjectPermission^ permission
)
new :
permission:ObjectPermission -> ObjectPermissionSet
public function ObjectPermissionSet(
permission : ObjectPermission
)
Paramètres
- permission
Type : Microsoft.SqlServer.Management.Smo.ObjectPermission
An ObjectPermission object that specifies a single permission for a set of permissions with a single member.
Exemples
Octroi, révocation et refus d'autorisations