ObjectPermission 클래스

The ObjectPermission object represents a SQL Server object permission.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Smo.ObjectPermission

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

구문

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

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

속성

  이름 설명
공용 속성정적 멤버 Alter Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 Connect Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 Control Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 CreateSequence Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 Delete Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 Execute Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 Impersonate Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 Insert Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 Receive Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 References Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 Select Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 Send Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 TakeOwnership Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 Update Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 ViewChangeTracking Gets a permission that can be included in the object permission set.
공용 속성정적 멤버 ViewDefinition Gets a permission that can be included in the object permission set.

맨 위로 이동

메서드

  이름 설명
공용 메서드정적 멤버 Add Returns a set of object permissions after adding two object permissions.
공용 메서드정적 멤버 BitwiseOr Returns an object permission set by performing a bitwise OR operation on two ObjectPermission objects.
공용 메서드 Equals Determines if a ObjectPermission object is the same as the current ObjectPermission object. (Object.Equals(Object)을(를) 재정의함)
공용 메서드 GetHashCode This method supports the SMO infrastructure and is not intended to be used directly from your code. (Object.GetHashCode()을(를) 재정의함)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드정적 멤버 ToObjectPermissionSet Converts an object permission into an object permission set.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

연산자

  이름 설명
공용 연산자정적 멤버 Addition Creates an object permission set by performing an addition operation on two ObjectPermission objects.
공용 연산자정적 멤버 BitwiseOr Creates an object permission set by performing a bitwise OR operation on two ObjectPermission objects.
공용 연산자정적 멤버 Equality Creates an object permission set by performing an equality operation on two ObjectPermission objects.
공용 연산자정적 멤버 Implicit(ObjectPermission to ObjectPermissionSet) Converts a single ObjectPermission to a ObjectPermissionSet.
공용 연산자정적 멤버 Inequality Creates an object permission set by performing an inequality operation on two ObjectPermission objects.

맨 위로 이동

주의

Object permissions are required when running granting, denying, or revoking permissions on an object. The ObjectPermission object is used to specify the set of permissions that apply to the Grant, Deny, and Revoke methods of the object. Also, object permissions can be added to the ObjectPermissionSet object, which can also be used with the Deny, Revoke, and Grant methods.

Thread Safety

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

권한 부여, 취소 및 거부

스레드 보안

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

참고 항목

참조

Microsoft.SqlServer.Management.Smo 네임스페이스