ObjectPermissionSet Constructor (ObjectPermissionSet)
Initializes a new instance of the ObjectPermissionSet class based on the specified set of object permissions.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub New ( _
oObjectPermissionSet As ObjectPermissionSet _
)
'Uso
Dim oObjectPermissionSet As ObjectPermissionSet
Dim instance As New ObjectPermissionSet(oObjectPermissionSet)
public ObjectPermissionSet(
ObjectPermissionSet oObjectPermissionSet
)
public:
ObjectPermissionSet(
ObjectPermissionSet^ oObjectPermissionSet
)
new :
oObjectPermissionSet:ObjectPermissionSet -> ObjectPermissionSet
public function ObjectPermissionSet(
oObjectPermissionSet : ObjectPermissionSet
)
Parámetros
- oObjectPermissionSet
Tipo: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet
An ObjectPermissionSet object that specifies a set of permissions.
Comentarios
The ObjectPermissionSet object is used to grant, deny, revoke, and enumerate database permissions (also known as statement permissions).
Ejemplos
Conceder, revocar y denegar permisos