Condividi tramite


Enumerazione FixedServerRoles

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

Questa enumerazione dispone di un attributo FlagsAttribute che consente una combinazione bit per bit dei relativi valori dei membri.

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
<FlagsAttribute> _
Public Enumeration FixedServerRoles
'Utilizzo
Dim instance As FixedServerRoles
[FlagsAttribute]
public enum FixedServerRoles
[FlagsAttribute]
public enum class FixedServerRoles
[<FlagsAttribute>]
type FixedServerRoles
public enum FixedServerRoles

Membri

Nome membro Descrizione
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.

Osservazioni

The FixedServerRoles class is served by the ServerConnection class.