DatabasePermissionSet-Konstruktor (DatabasePermission)
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 ( _
permission As DatabasePermission _
)
'Usage
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
)
Parameter
- permission
Typ: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that specifies a single permission for a set of permissions with a single member.
Beispiele
Gewährung, Widerrufen und Verweigern von Berechtigungen
Siehe auch
Verweis
DatabasePermissionSet-Überladung
Microsoft.SqlServer.Management.Smo-Namespace