SqlErrorCollection.System.Collections.ICollection.SyncRoot Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets an Object that can be used to synchronize access to the SqlErrorCollection.

Private ReadOnly Property SyncRoot As Object Implements _   ICollection.SyncRoot
[C#]
object ICollection.SyncRoot {get;}
[C++]
private: __property Object*
   System::Collections::ICollection::get_SyncRoot();
[JScript]
private function get ICollection.SyncRoot() : Object;

Property Value

An Object that can be used to synchronize access to the SqlErrorCollection.

Remarks

For more information on the usage of SyncRoot, see the SyncRoot property of the ICollection interface.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SqlErrorCollection Class | SqlErrorCollection Members | System.Data.SqlClient Namespace