Delen via


PermissionInfo.GrantorType Property

Gets the type of grantor.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property GrantorType As PrincipalType
    Get
'Usage
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

Property Value

Type: Microsoft.SqlServer.Management.Smo.PrincipalType
A PrincipalType object value that specifies the type of grantee.