Поделиться через


RoleTypes Enumeration

The RoleTypes enumeration contains values that are used to specify the type of role.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
<FlagsAttribute> _
Public Enumeration RoleTypes
[FlagsAttribute] 
public enum RoleTypes
[FlagsAttribute] 
public enum class RoleTypes
/** @attribute FlagsAttribute() */ 
public enum RoleTypes
FlagsAttribute 
public enum RoleTypes

Members

Member name Description
All Database roles and server roles.
Database Database fixed roles and user-defined roles.
Server Fixed server roles.

Замечания

The RoleTypes enumeration class is served by the EnumMembers method.

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

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

Microsoft.SqlServer.Management.Smo Namespace