共用方式為


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.