PrincipalType-Enumeration
The PrincipalType enumeration contains values that specify the type of user, role, or login.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)
Syntax
'Declaration
Public Enumeration PrincipalType
'Usage
Dim instance As PrincipalType
public enum PrincipalType
public enum class PrincipalType
type PrincipalType
public enum PrincipalType
Elemente
Elementname | Beschreibung | |
---|---|---|
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. |
Hinweise
The PrincipalType enumeration class is served by the GranteeType and GrantorType properties.
Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.