ServerPermissionSet 建構函式 (ServerPermission)
Initializes a new instance of the ServerPermissionSet class based on the specified permission.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub New ( _
permission As ServerPermission _
)
'用途
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
)
參數
- permission
型別:Microsoft.SqlServer.Management.Smo.ServerPermission
A ServerPermission object that specifies a single permission for a set of permissions with a single member.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間