ServerPermissionInfo.PermissionType 属性

Gets the type of permission.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public ReadOnly Property PermissionType As ServerPermissionSet 
    Get
用法
Dim instance As ServerPermissionInfo 
Dim value As ServerPermissionSet 

value = instance.PermissionType
public ServerPermissionSet PermissionType { get; }
public:
property ServerPermissionSet^ PermissionType {
    ServerPermissionSet^ get ();
}
member PermissionType : ServerPermissionSet
function get PermissionType () : ServerPermissionSet

属性值

类型:Microsoft.SqlServer.Management.Smo.ServerPermissionSet
A ServerPermissionSet object that specifies a type of permission.

示例

授予、撤消和拒绝权限

请参阅

参考

ServerPermissionInfo 类

Microsoft.SqlServer.Management.Smo 命名空间