Share via


EventPropertyCollection.ICollection.SyncRoot 속성

Returns an object that can be used to synchronize access to the ICollection.

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

구문

‘선언
Private ReadOnly Property SyncRoot As Object 
    Implements ICollection.SyncRoot 
    Get
‘사용 방법
Dim instance As EventPropertyCollection 
Dim value As Object 

value = CType(instance, ICollection).SyncRoot
Object ICollection.SyncRoot { get; }
private:
virtual property Object^ SyncRoot {
    Object^ get () sealed = ICollection::SyncRoot::get;
}
private abstract SyncRoot : Object 
private override SyncRoot : Object
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.

속성 값

유형: System.Object
Object that can be used to synchronize or lock access to the ICollection.

구현

ICollection.SyncRoot

주의

Synchronization is effective only if all threads lock this object before accessing the collection.

참고 항목

참조

EventPropertyCollection 클래스

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