SqlErrorCollection.ICollection.SyncRoot 屬性

定義

如需這個成員的說明,請參閱 SyncRootFor a description of this member, see SyncRoot.

property System::Object ^ System::Collections::ICollection::SyncRoot { System::Object ^ get(); };
object System.Collections.ICollection.SyncRoot { get; }
member this.System.Collections.ICollection.SyncRoot : obj
 ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot

屬性值

可用以同步存取 ICollection 的物件。An object that can be used to synchronize access to the ICollection.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 SqlErrorCollection 執行個體轉換成 ICollection 介面時,才能使用這個成員。It can be used only when the SqlErrorCollection instance is cast to an ICollection interface.

適用於

另請參閱