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


Перечисление FixedServerRoles

The FixedServerRoles enumeration contains values that are used to specify fixed server roles that can be assigned to logons.

Это перечисление имеет атрибут FlagsAttribute, допускающий побитовое сочетание значений его элементов.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
<FlagsAttribute> _
Public Enumeration FixedServerRoles
'Применение
Dim instance As FixedServerRoles
[FlagsAttribute]
public enum FixedServerRoles
[FlagsAttribute]
public enum class FixedServerRoles
[<FlagsAttribute>]
type FixedServerRoles
public enum FixedServerRoles

Элементы

Имя элемента Описание
BulkAdmin Administers bulk operations.
DBCreator Can create databases.
DiskAdmin Can alter resources.
None No server role.
ProcessAdmin Can alter connections.
SecurityAdmin Can alter logons.
ServerAdmin Can alter Microsoft SQL Server settings, shut down the SQL Server Service, create and alter endpoints, alter the SQL Server state, and alter resources.
SetupAdmin Can alter linked servers.
SysAdmin Can control any aspect of the instance of Microsoft SQL Server.

Замечания

The FixedServerRoles class is served by the ServerConnection class.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Common

Другие ресурсы

sp_helpsrvrole (Transact-SQL)