ObjectPermissionSet Constructor (array<ObjectPermission )
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 ( _
ParamArray permissions As ObjectPermission() _
)
'Uso
Dim permissions As ObjectPermission()
Dim instance As New ObjectPermissionSet(permissions)
public ObjectPermissionSet(
params ObjectPermission[] permissions
)
public:
ObjectPermissionSet(
... array<ObjectPermission^>^ permissions
)
new :
permissions:ObjectPermission[] -> ObjectPermissionSet
public function ObjectPermissionSet(
... permissions : ObjectPermission[]
)
Parámetros
- permissions
Tipo: array<Microsoft.SqlServer.Management.Smo.ObjectPermission[]
An array of ObjectPermission objects that specify the set of permissions.
Ejemplos
Conceder, revocar y denegar permisos