مشاركة عبر


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.

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

PermissionInfo Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Permissions (Database Engine)

sys.syspermissions (Transact-SQL)