Compartir a través de


Enumeración PrincipalType

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)

Sintaxis

'Declaración
Public Enumeration PrincipalType
'Uso
Dim instance As PrincipalType
public enum PrincipalType
public enum class PrincipalType
type PrincipalType
public enum PrincipalType

Miembros

Nombre del miembro Descripción
ApplicationRole Value = 4. An application role.
DatabaseRole Value = 3. A database role (fixed or user-defined).
Login Value = 0. A SQL Server login.
None Value = 5. None.
ServerRole Value = 1. A fixed server role.
User Value = 2. A database user.

Comentarios

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

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Smo