Freigeben über


DatabasePermissionSet-Konstruktor (DatabasePermissionSet)

Initializes a new instance of the DatabasePermissionSet class.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub New ( _
    oDatabasePermissionSet As DatabasePermissionSet _
)
'Usage
Dim oDatabasePermissionSet As DatabasePermissionSet 

Dim instance As New DatabasePermissionSet(oDatabasePermissionSet)
public DatabasePermissionSet(
    DatabasePermissionSet oDatabasePermissionSet
)
public:
DatabasePermissionSet(
    DatabasePermissionSet^ oDatabasePermissionSet
)
new : 
        oDatabasePermissionSet:DatabasePermissionSet -> DatabasePermissionSet
public function DatabasePermissionSet(
    oDatabasePermissionSet : DatabasePermissionSet
)

Parameter

Hinweise

The DatabasePermissionSet object is used to grant, deny, revoke, and enumerate database permissions (also known as statement permissions).

Beispiele

Gewährung, Widerrufen und Verweigern von Berechtigungen

Siehe auch

Verweis

DatabasePermissionSet Klasse

DatabasePermissionSet-Überladung

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Berechtigungen (Datenbankmodul)