ManagedComputer.Services Property

Definition

Represents a collection of Service objects. Each Service object represents a SQL Server service defined on the WMI installation.

public:
 property Microsoft::SqlServer::Management::Smo::Wmi::ServiceCollection ^ Services { Microsoft::SqlServer::Management::Smo::Wmi::ServiceCollection ^ get(); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServiceCollection Services { get; }
member this.Services : Microsoft.SqlServer.Management.Smo.Wmi.ServiceCollection
Public ReadOnly Property Services As ServiceCollection

Property Value

A ServiceCollection object that represents all the SQL Server services defined on the WMI installation.

Examples

Managing Services and Network Settings by Using WMI Provider

Applies to

See also