Compartilhar via


Propriedade do RDL PermissionInfo.GrantorType

Gets the type of grantor.

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

Sintaxe

'Declaração
Public ReadOnly Property GrantorType As PrincipalType 
    Get
'Uso
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

Valor da propriedade

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

Exemplos

Concedendo, revogando e negando permissões

Consulte também

Referência

PermissionInfo Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Permissões (Mecanismo de Banco de Dados)

sys.syspermissions (Transact-SQL)