ObjectPermissionInfo.PermissionType 属性

Gets the type of permission.

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

语法

声明
Public ReadOnly Property PermissionType As ObjectPermissionSet 
    Get
用法
Dim instance As ObjectPermissionInfo 
Dim value As ObjectPermissionSet 

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

属性值

类型:Microsoft.SqlServer.Management.Smo.ObjectPermissionSet
An ObjectPermissionSet object that specifies a type of permission.

示例

授予、撤消和拒绝权限

请参阅

参考

ObjectPermissionInfo 类

Microsoft.SqlServer.Management.Smo 命名空间