Construtor DatabasePermissionSet (array<DatabasePermission )
Initializes a new instance of the DatabasePermissionSet class.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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.
Exemplos
Concedendo, revogando e negando permissões
Consulte também
Referência
Sobrecarregado DatabasePermissionSet
Namespace Microsoft.SqlServer.Management.Smo