Compartilhar via


Construtor DatabasePermissionSet (DatabasePermission)

Inicializa uma nova instância da classe DatabasePermissionSet.

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