Enumeração FixedServerRoles
The FixedServerRoles enumeration contains values that are used to specify fixed server roles that can be assigned to logons.
Esta enumeração tem um atributo FlagsAttribute que permite uma combinação bit a bit de seus valores de membro.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
'Declaração
<FlagsAttribute> _
Public Enumeration FixedServerRoles
'Uso
Dim instance As FixedServerRoles
[FlagsAttribute]
public enum FixedServerRoles
[FlagsAttribute]
public enum class FixedServerRoles
[<FlagsAttribute>]
type FixedServerRoles
public enum FixedServerRoles
Nome do membro | Descrição | |
---|---|---|
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.