DbConnectionStringBuilder.ICollection.SyncRoot 属性

定义

获取可用于同步对 ICollection 的访问的对象。Gets an object that can be used to synchronize access to the ICollection.

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

属性值

Object

用于同步对 ICollection 的访问的对象。An object that can be used to synchronize access to the ICollection.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DbConnectionStringBuilder 实例被强制转换为 ICollection 接口时使用。It can be used only when the DbConnectionStringBuilder instance is cast to an ICollection interface.

有关详细信息,请参阅 SyncRootFor more information, see SyncRoot.

适用于

另请参阅