PermissionState 属性

获取权限应用到的对象的权限状态,如是否已授予、拒绝、撤消权限,或是否已授予向其他用户授权的权限。

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

语法

声明
Public ReadOnly Property PermissionState As PermissionState
    Get
用法
Dim instance As PermissionInfo
Dim value As PermissionState

value = instance.PermissionState
public PermissionState PermissionState { get; }
public:
property PermissionState PermissionState {
    PermissionState get ();
}
member PermissionState : PermissionState
function get PermissionState () : PermissionState

属性值

类型:Microsoft.SqlServer.Management.Smo. . :: . .PermissionState
一个 PermissionState 对象值,该值指定对象的权限状态。