Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
The ServiceCollection class represents a collection of Service objects that represent all SQL Server services defined on the parent object.
The following tables list the members exposed by the ServiceCollection type.
Protected Fields
| Name | Description | |
|---|---|---|
![]() |
initialized | (inherited from WmiCollectionBase ) |
![]() |
innerColl | (inherited from WmiCollectionBase ) |
Nach oben
Public Properties
| Name | 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). (inherited from WmiCollectionBase) |
![]() |
Item | Overloaded. Gets a Service object in the collection by name or by index number. |
![]() |
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. (inherited from WmiCollectionBase) |
Nach oben
Public Methods
(see also Protected Methods )
| Name | Description | |
|---|---|---|
![]() |
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 | Overloaded. (inherited from Object ) |
![]() |
GetEnumerator | Returns an IEnumerator interface that allows you to iterate through the objects in the collection. |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetType | (inherited from Object ) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
ToString | (inherited from Object ) |
Nach oben
Protected Methods
| Name | Description | |
|---|---|---|
![]() |
Add | (inherited from WmiCollectionBase ) |
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | (inherited from Object ) |
![]() |
Remove | (inherited from WmiCollectionBase ) |
Nach oben
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| System.Collections.ICollection.CopyTo |
Nach oben
Siehe auch
Verweis
ServiceCollection Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace
.gif)
.gif)
.gif)
.gif)
.gif)