共用方式為


Grantee 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property Grantee As String
    Get
'用途
Dim instance As PermissionInfo
Dim value As String

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

屬性值

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

備註

This property is empty when column permissions are not enumerated.