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.