Compartir a través de


ServerInstanceCollection Miembros

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

El tipo ServerInstanceCollection expone los siguientes miembros.

Métodos

  Nombre Descripción
Método protegido Add Adds the specified object to the referenced collection. (Se hereda de WmiCollectionBase).
Método publico Contains Checks whether the specified key value exists in the collection.
Método publico CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection.
Método publico GetHashCode (Se hereda de Object).
Método publico GetType (Se hereda de Object).
Método protegido MemberwiseClone (Se hereda de Object).
Método protegido Remove Removes the specified object from the referenced collection. (Se hereda de WmiCollectionBase).
Método publico ToString (Se hereda de Object).

Principio

Campos

  Nombre Descripción
Campo protegido initialized (Se hereda de WmiCollectionBase).
Campo protegido innerColl (Se hereda de WmiCollectionBase).

Principio

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of ServerInstance objects in the referenced collection.
Propiedad pública IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized (thread safe). (Se hereda de WmiCollectionBase).
Propiedad pública Item[ ( [ ( Int32] ) ] ) Gets a ServerInstance object in the collection by index number.
Propiedad pública Item[ ( [ ( String] ) ] ) Gets a ServerInstance object in the collection by name.
Propiedad pública Parent Gets the ManagedComputer object that is the parent of the ServerInstanceCollection object.
Propiedad pública SyncRoot Gets an object that can be used to synchronize access to the collection. (Se hereda de WmiCollectionBase).

Principio

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado ICollection. . :: . .CopyTo

Principio