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
成员
成员名称 | 说明 | |
---|---|---|
None | No server role. | |
SysAdmin | Can control any aspect of the instance of Microsoft SQL Server. | |
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. | |
SecurityAdmin | Can alter logons. | |
ProcessAdmin | Can alter connections. | |
DBCreator | Can create databases. | |
DiskAdmin | Can alter resources. | |
BulkAdmin | Administers bulk operations. |