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