Share via


PrincipalType Enumeration

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

네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

구문

‘선언
Public Enumeration PrincipalType
public enum PrincipalType
public enum class PrincipalType
public enum PrincipalType
public enum PrincipalType

Members

Member name Description
ApplicationRole Value = 4. An application role.
DatabaseRole Value = 3. A database role (fixed or user-defined).
Login Value = 0. A Microsoft SQL Server login.
ServerRole Value = 1. A fixed server role.
User Value = 2. A database user.

주의

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

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Microsoft.SqlServer.Management.Smo Namespace