다음을 통해 공유


ServerPermission 클래스

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

상속 계층

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public NotInheritable Class ServerPermission
‘사용 방법
Dim instance As ServerPermission
public sealed class ServerPermission
public ref class ServerPermission sealed
[<SealedAttribute>]
type ServerPermission =  class end
public final class ServerPermission

ServerPermission 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성정적 멤버 AdministerBulkOperations Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AlterAnyConnection Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AlterAnyCredential Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AlterAnyDatabase Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AlterAnyEndpoint Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AlterAnyEventNotification Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AlterAnyLinkedServer Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AlterAnyLogin Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AlterAnyServerAudit Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AlterResources Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AlterServerState Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AlterSettings Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AlterTrace Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 AuthenticateServer Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 ConnectSql Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 ControlServer Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 CreateAnyDatabase Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 CreateDdlEventNotification Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 CreateEndpoint Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 CreateTraceEventNotification Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 ExternalAccessAssembly Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 Shutdown Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 UnsafeAssembly Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 ViewAnyDatabase Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 ViewAnyDefinition Gets a permission that can be included in the server permission set.
공용 속성정적 멤버 ViewServerState Gets a permission that can be included in the server permission set.

맨 위로 이동

메서드

  이름 설명
공용 메서드정적 멤버 Add Returns a set of server permissions after adding a new server permission to an existing set of server permissions.
공용 메서드정적 멤버 BitwiseOr Combines two Server Permissions using an inclusive OR.
공용 메서드 Equals Determines whether the referenced server permission object is equal to a specified object. (Object. . :: . .Equals(Object)을(를) 재정의함)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Object. . :: . .GetHashCode() () () ()을(를) 재정의함)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드정적 멤버 ToServerPermissionSet Returns a set of server permissions based on a single server permission, by converting a ServerPermission object to a ServerPermissionSet object.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

연산자

  이름 설명
공용 연산자정적 멤버 Addition Creates a server permission set by performing an addition operation on two ServerPermission objects.
공용 연산자정적 멤버 BitwiseOr Creates a server permission set by performing a bitwise OR operation on two ServerPermission objects.
공용 연산자정적 멤버 Equality Creates a server permission set by performing an equality operation on two ServerPermission objects.
공용 연산자정적 멤버 Implicit Widening Implicit Implicit Implicit(ServerPermission to ServerPermissionSet) Transforms a single Server Permission to Server Permission Set.
공용 연산자정적 멤버 Inequality 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.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.