Construtor DatabasePermissionSet (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 ( _
permission As DatabasePermission _
)
'Uso
Dim permission As DatabasePermission
Dim instance As New DatabasePermissionSet(permission)
public DatabasePermissionSet(
DatabasePermission permission
)
public:
DatabasePermissionSet(
DatabasePermission^ permission
)
new :
permission:DatabasePermission -> DatabasePermissionSet
public function DatabasePermissionSet(
permission : DatabasePermission
)
Parâmetros
- permission
Tipo: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that specifies a single permission for a set of permissions with a single member.
Exemplos
Concedendo, revogando e negando permissões
Consulte também
Referência
Sobrecarregado DatabasePermissionSet
Namespace Microsoft.SqlServer.Management.Smo