Membres ServiceCollection
The ServiceCollection class represents a collection of Service objects that represent all SQL Server services defined on the parent object.
Le type ServiceCollection expose les membres suivants.
Méthodes
Nom | Description | |
---|---|---|
Add | Adds the specified object to the referenced collection. (Hérité de WmiCollectionBase.) | |
Contains | Checks whether the specified key value exists in the collection. | |
CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. | |
Equals | (Hérité de Object.) | |
Finalize | (Hérité de Object.) | |
GetEnumerator | Returns an IEnumerator interface that allows you to iterate through the objects in the collection. | |
GetHashCode | (Hérité de Object.) | |
GetType | (Hérité de Object.) | |
MemberwiseClone | (Hérité de Object.) | |
Remove | Removes the specified object from the referenced collection. (Hérité de WmiCollectionBase.) | |
ToString | (Hérité de Object.) |
Haut de la page
Champs
Nom | Description | |
---|---|---|
initialized | (Hérité de WmiCollectionBase.) | |
innerColl | (Hérité de WmiCollectionBase.) |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
Count | Gets the number of Service objects in the referenced collection. | |
IsSynchronized | Gets the Boolean property value that specifies whether access to the collection is synchronized (thread safe). (Hérité de WmiCollectionBase.) | |
Item[ ( [ ( Int32] ) ] ) | Gets a Service object in the collection by index number. | |
Item[ ( [ ( String] ) ] ) | Gets a Service object in the collection by name. | |
Parent | Gets the ManagedComputer object that is the parent of the ServiceCollection object. | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. (Hérité de WmiCollectionBase.) |
Haut de la page