Construtor ObjectPermissionSet (ObjectPermission)
Initializes a new instance of the ObjectPermissionSet class based on the specified object permission.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub New ( _
permission As ObjectPermission _
)
'Uso
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
)
Parâmetros
- permission
Tipo: Microsoft.SqlServer.Management.Smo.ObjectPermission
An ObjectPermission object that specifies a single permission for a set of permissions with a single member.
Exemplos
Concedendo, revogando e negando permissões