다음을 통해 공유


ObjectID 속성

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

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

구문

‘선언
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.