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. | |
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)을(를) 재정의함) | |
Finalize | (Object에서 상속됨) | |
GetHashCode | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Object. . :: . .GetHashCode() () () ()을(를) 재정의함) | |
GetType | (Object에서 상속됨) | |
MemberwiseClone | (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 Widening Implicit Implicit 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) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.