共用方式為


ServerPermissionSetValue Enumeration

The ServerPermissionSetValue enumeration is a list of constant values that specify all the database permissions.

命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

語法

'宣告
Public Enumeration ServerPermissionSetValue
public enum ServerPermissionSetValue
public enum class ServerPermissionSetValue
public enum ServerPermissionSetValue
public enum ServerPermissionSetValue

Members

Member name Description
AdministerBulkOperations The ability to administer bulk operations.
AlterAnyConnection The ability to alter any connection.
AlterAnyCredential The ability to alter any credential.
AlterAnyDatabase The ability to alter any database.
AlterAnyEndpoint The ability to alter any endpoint.
AlterAnyEventNotification The ability to alter any event notification.
AlterAnyLinkedServer The ability to alter any linked server.
AlterAnyLogin The ability to alter any login.
AlterResources The ability to alter resources.
AlterServerState The ability to alter the state of the server.
AlterSettings The ability to alter settings.
AlterTrace The ability to alter traces.
AuthenticateServer The ability to authenticate the server.
ConnectSql The ability to connect to SQL Server.
ControlServer The ability to control the server.
CreateAnyDatabase The ability to create any database.
CreateDdlEventNotification The ability to create data definition language (DDL) event notifications.
CreateEndpoint The ability to create endpoints.
CreateTraceEventNotification The ability to create trace event notifications.
ExternalAccessAssembly  
Shutdown The ability to shut down the server.
UnsafeAssembly  
ViewAnyDatabase The ability to view any database.
ViewAnyDefinition The ability to view any definition.
ViewServerState The ability to view the state of the server.

備註

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

範例

How to: Grant Server Permissions in Visual Basic .NET

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo Namespace

其他資源

Granting, Revoking, and Denying Permissions