DatabasePermissionSet Constructor (array<DatabasePermission )
Initializes a new instance of the DatabasePermissionSet class.
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 DatabasePermission() _
)
'Uso
Dim permissions As DatabasePermission()
Dim instance As New DatabasePermissionSet(permissions)
public DatabasePermissionSet(
params DatabasePermission[] permissions
)
public:
DatabasePermissionSet(
... array<DatabasePermission^>^ permissions
)
new :
permissions:DatabasePermission[] -> DatabasePermissionSet
public function DatabasePermissionSet(
... permissions : DatabasePermission[]
)
Parámetros
- permissions
Tipo: array<Microsoft.SqlServer.Management.Smo.DatabasePermission[]
An array of DatabasePermission objects that specify the set of permissions.
Ejemplos
Conceder, revocar y denegar permisos
Vea también
Referencia
Sobrecarga de DatabasePermissionSet
Espacio de nombres Microsoft.SqlServer.Management.Smo