Compartilhar via


Enumeração PrincipalType

The PrincipalType enumeration contains values that specify the type of user, role, or login.

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

Sintaxe

'Declaração
Public Enumeration PrincipalType
'Uso
Dim instance As PrincipalType
public enum PrincipalType
public enum class PrincipalType
type PrincipalType
public enum PrincipalType

Membros

Nome do membro Descrição
Login Value = 0. A SQL Server login.
ServerRole Value = 1. A fixed server role.
User Value = 2. A database user.
DatabaseRole Value = 3. A database role (fixed or user-defined).
ApplicationRole Value = 4. An application role.

Comentários

The PrincipalType enumeration class is served by the GranteeType and GrantorType properties.

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Consulte também

Referência