PermissionInfo.Grantor 属性

Gets the name of the database user, logon, or database role who granted or denied access to the object.

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

语法

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

value = instance.Grantor
public string Grantor { get; }
public:
property String^ Grantor {
    String^ get ();
}
member Grantor : string
function get Grantor () : String

属性值

类型:System.String
A String value that specifies the name of the grantee.

注释

This property is empty when column permissions are not enumerated.

示例

授予、撤消和拒绝权限

请参阅

参考

PermissionInfo 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

权限(数据库引擎)

sys.syspermissions (Transact-SQL)