共用方式為


GrantorType 屬性

取得授與者的類型。

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

語法

'宣告
Public ReadOnly Property GrantorType As PrincipalType
    Get
'用途
Dim instance As PermissionInfo
Dim value As PrincipalType

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

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .PrincipalType
指定被授與者類型的 PrincipalType 物件值。