Freigeben über


ManagedComputer.Services-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public ReadOnly Property Services As ServiceCollection 
    Get
'Usage
Dim instance As ManagedComputer 
Dim value As ServiceCollection 

value = instance.Services
public ServiceCollection Services { get; }
public:
property ServiceCollection^ Services {
    ServiceCollection^ get ();
}
member Services : ServiceCollection
function get Services () : ServiceCollection

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.Wmi.ServiceCollection
A ServiceCollection object that represents all the SQL Server services defined on the WMI installation.

Beispiele

Verwalten von Diensten und Netzwerkeinstellungen durch die Nutzung von WMI-Anbieter

Siehe auch

Verweis

ManagedComputer Klasse

Microsoft.SqlServer.Management.Smo.Wmi-Namespace

Andere Ressourcen

Herstellen einer Verbindung zum SQL Server-Datenbankmodul