ServerPermissionSet-Konstruktor (ServerPermission)
Initializes a new instance of the ServerPermissionSet class based on the specified permission.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
permission As ServerPermission _
)
'Usage
Dim permission As ServerPermission
Dim instance As New ServerPermissionSet(permission)
public ServerPermissionSet(
ServerPermission permission
)
public:
ServerPermissionSet(
ServerPermission^ permission
)
new :
permission:ServerPermission -> ServerPermissionSet
public function ServerPermissionSet(
permission : ServerPermission
)
Parameter
- permission
Typ: Microsoft.SqlServer.Management.Smo.ServerPermission
A ServerPermission 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
ServerPermissionSet-Überladung
Microsoft.SqlServer.Management.Smo-Namespace