Dela via


RegSvrCollectionBase Class

Note: This API is now obsolete.

The RegSvrCollectionBase class is a base class used in the construction of the RegisteredServerCollection object.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.RegisteredServers.RegSvrCollectionBase
    Microsoft.SqlServer.Management.Smo.RegisteredServers.RegisteredServerCollection
    Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroupCollection

Namespace:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")> _
Public MustInherit Class RegSvrCollectionBase
'Usage
Dim instance As RegSvrCollectionBase
[ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")]
public abstract class RegSvrCollectionBase
[ObsoleteAttribute(L"Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")]
public ref class RegSvrCollectionBase abstract
[<AbstractClassAttribute>]
[<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")>]
type RegSvrCollectionBase =  class end
public abstract class RegSvrCollectionBase

The RegSvrCollectionBase type exposes the following members.

Properties

  Name Description
Public property IsSynchronized Gets a Boolean value indicating whether access to the collection is synchronized and therefore thread-safe.
Public property SyncRoot Gets an object that can be used to synchronize access to the collection.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field initialized Gets a Boolean value indicating the collection is initialized.If True, collection is initialized. If False the collection is not initialized.
Protected field innerColl The SortedList which contains the underlying collection of registered servers.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.