ServerPermission Class

 

The ServerPermission object represents a SQL Server server-level permission.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

System.Object
  Microsoft.SqlServer.Management.Smo.ServerPermission

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticAdministerBulkOperations

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterAnyAvailabilityGroup

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterAnyConnection

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterAnyCredential

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterAnyDatabase

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterAnyEndpoint

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterAnyEventNotification

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterAnyEventSession

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterAnyLinkedServer

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterAnyLogin

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterAnyServerAudit

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterAnyServerRole

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterResources

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterServerState

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterSettings

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAlterTrace

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticAuthenticateServer

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticConnectAnyDatabase

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticConnectSql

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticControlServer

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticCreateAnyDatabase

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticCreateAvailabilityGroup

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticCreateDdlEventNotification

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticCreateEndpoint

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticCreateServerRole

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticCreateTraceEventNotification

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticExternalAccessAssembly

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticImpersonateAnyLogin

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticSelectAllUserSecurables

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticShutdown

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticUnsafeAssembly

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticViewAnyDatabase

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticViewAnyDefinition

Gets a permission that can be included in the server permission set.

System_CAPS_pubpropertySystem_CAPS_staticViewServerState

Gets a permission that can be included in the server permission set.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAdd(ServerPermission, ServerPermission)

Returns a set of server permissions after adding a new server permission to an existing set of server permissions.

System_CAPS_pubmethodSystem_CAPS_staticBitwiseOr(ServerPermission, ServerPermission)

Combines two Server Permissions using an inclusive OR.

System_CAPS_pubmethodEquals(Object)

Determines whether the referenced server permission object is equal to a specified object.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticToServerPermissionSet(ServerPermission)

Returns a set of server permissions based on a single server permission, by converting a ServerPermission object to a ServerPermissionSet object.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticAddition(ServerPermission, ServerPermission)

Creates a server permission set by performing an addition operation on two ServerPermission objects.

System_CAPS_puboperatorSystem_CAPS_staticBitwiseOr(ServerPermission, ServerPermission)

Creates a server permission set by performing a bitwise OR operation on two ServerPermission objects.

System_CAPS_puboperatorSystem_CAPS_staticEquality(ServerPermission, ServerPermission)

Creates a server permission set by performing an equality operation on two ServerPermission objects.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(ServerPermission to ServerPermissionSet)

Creates a new server permission set by implicitly converting server permission.

System_CAPS_puboperatorSystem_CAPS_staticInequality(ServerPermission, ServerPermission)

Creates a server permission set by performing an inequality operation on two ServerPermission objects.

Server permissions are required when granting, denying, or revoking server-level permissions on an instance of SQL Server. The ServerPermission object is used to specify the set of permissions that apply to the Grant, Deny, and Revoke methods of the Server object. Also, server permissions can be added to the ServerPermissionSet object, which can also be used with the Deny, Revoke, and Grant methods.

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: