Membros ServiceCollection
The ServiceCollection class represents a collection of Service objects that represent all SQL Server services defined on the parent object.
O tipo ServiceCollection expõe os seguintes membros.
Métodos
Nome | Descrição | |
---|---|---|
![]() |
Add | Adds the specified object to the referenced collection. (Herdado 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 | (Herdado de Object.) |
![]() |
Finalize | (Herdado de Object.) |
![]() |
GetEnumerator | Returns an IEnumerator interface that allows you to iterate through the objects in the collection. |
![]() |
GetHashCode | (Herdado de Object.) |
![]() |
GetType | (Herdado de Object.) |
![]() |
MemberwiseClone | (Herdado de Object.) |
![]() |
Remove | Removes the specified object from the referenced collection. (Herdado de WmiCollectionBase.) |
![]() |
ToString | (Herdado de Object.) |
Início
Campos
Nome | Descrição | |
---|---|---|
![]() |
initialized | (Herdado de WmiCollectionBase.) |
![]() |
innerColl | (Herdado de WmiCollectionBase.) |
Início
Propriedades
Nome | Descrição | |
---|---|---|
![]() |
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). (Herdado 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. (Herdado de WmiCollectionBase.) |
Início
Consulte também