Condividi tramite


Membri ServiceCollection

The ServiceCollection class represents a collection of Service objects that represent all SQL Server services defined on the parent object.

Il tipo ServiceCollection espone i membri seguenti.

Metodi

  Nome Descrizione
Metodo protetto Add Adds the specified object to the referenced collection. (Ereditato da WmiCollectionBase).
Metodo pubblico Contains Checks whether the specified key value exists in the collection.
Metodo pubblico CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.
Metodo pubblico Equals (Ereditato da Object).
Metodo protetto Finalize (Ereditato da Object).
Metodo pubblico GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection.
Metodo pubblico GetHashCode (Ereditato da Object).
Metodo pubblico GetType (Ereditato da Object).
Metodo protetto MemberwiseClone (Ereditato da Object).
Metodo protetto Remove Removes the specified object from the referenced collection. (Ereditato da WmiCollectionBase).
Metodo pubblico ToString (Ereditato da Object).

In alto

Campi

  Nome Descrizione
Campo protetto initialized (Ereditato da WmiCollectionBase).
Campo protetto innerColl (Ereditato da WmiCollectionBase).

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Count Gets the number of Service objects in the referenced collection.
Proprietà pubblica IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized (thread safe). (Ereditato da WmiCollectionBase).
Proprietà pubblica Item[ ( [ ( Int32] ) ] ) Gets a Service object in the collection by index number.
Proprietà pubblica Item[ ( [ ( String] ) ] ) Gets a Service object in the collection by name.
Proprietà pubblica Parent Gets the ManagedComputer object that is the parent of the ServiceCollection object.
Proprietà pubblica SyncRoot Gets an object that can be used to synchronize access to the collection. (Ereditato da WmiCollectionBase).

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato ICollection. . :: . .CopyTo

In alto