Condividi tramite


ServerInstanceCollection Members

The ServerInstanceCollection class represents a collection of ServerInstance objects that represent all the instances of Microsoft SQL Server defined on the parent object.

The following tables list the members exposed by the ServerInstanceCollection type.

Protected Fields

  Nome Description
ms220842.protfield(it-it,SQL.90).gif initialized  (inherited from WmiCollectionBase )
ms220842.protfield(it-it,SQL.90).gif innerColl  (inherited from WmiCollectionBase )

Torna all'inizio

Public Properties

  Nome Description
ms220842.pubproperty(it-it,SQL.90).gif Count Gets the number of ServerInstance objects in the referenced collection.
ms220842.pubproperty(it-it,SQL.90).gif IsSynchronized  Gets the Boolean property value that specifies whether access to the collection is synchronized (thread safe). (inherited from WmiCollectionBase)
ms220842.pubproperty(it-it,SQL.90).gif Item Overloaded. Gets a ServerInstance object in the collection by name or by index number.
ms220842.pubproperty(it-it,SQL.90).gif Parent Gets the ManagedComputer object that is the parent of the ServerInstanceCollection object.
ms220842.pubproperty(it-it,SQL.90).gif SyncRoot  Gets an object that can be used to synchronize access to the collection. (inherited from WmiCollectionBase)

Torna all'inizio

Public Methods

(see also Protected Methods )

  Nome Description
ms220842.pubmethod(it-it,SQL.90).gif Contains Checks whether the specified key value exists in the collection.
ms220842.pubmethod(it-it,SQL.90).gif CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.
ms220842.pubmethod(it-it,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220842.pubmethod(it-it,SQL.90).gif GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection.
ms220842.pubmethod(it-it,SQL.90).gif GetHashCode  (inherited from Object )
ms220842.pubmethod(it-it,SQL.90).gif GetType  (inherited from Object )
ms220842.pubmethod(it-it,SQL.90).gifms220842.static(it-it,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220842.pubmethod(it-it,SQL.90).gif ToString  (inherited from Object )

Torna all'inizio

Protected Methods

  Nome Description
ms220842.protmethod(it-it,SQL.90).gif Add  (inherited from WmiCollectionBase )
ms220842.protmethod(it-it,SQL.90).gif Finalize  (inherited from Object )
ms220842.protmethod(it-it,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220842.protmethod(it-it,SQL.90).gif Remove  (inherited from WmiCollectionBase )

Torna all'inizio

Explicit Interface Implementations

  Nome Description
System.Collections.ICollection.CopyTo  

Torna all'inizio

Vedere anche

Riferimento

ServerInstanceCollection Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace