PermissionInfo.ObjectID 속성

Gets the ID value that uniquely identifies the object to which the permission applies.

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

구문

‘선언
Public ReadOnly Property ObjectID As Integer 
    Get
‘사용 방법
Dim instance As PermissionInfo 
Dim value As Integer 

value = instance.ObjectID
public int ObjectID { get; }
public:
property int ObjectID {
    int get ();
}
member ObjectID : int
function get ObjectID () : int

속성 값

유형: System.Int32
An Int32 value that specifies the ID value that uniquely identifies the object.

주의

The ObjectID property is 0 for a Server object or a Database object. Otherwise, it specifies the ID of the object within the class specified by the ObjectClass property.

권한 부여, 취소 및 거부

참고 항목

참조

PermissionInfo 클래스

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

관련 자료

사용 권한(데이터베이스 엔진)

sys.syspermissions(Transact-SQL)