Proprietà ManagedComputer.Services

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property Services As ServiceCollection 
    Get
'Utilizzo
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

Valore proprietà

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

Esempi

Gestione di servizi e di impostazioni di rete tramite il provider WMI

Vedere anche

Riferimento

ManagedComputer Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi

Altre risorse

Connessione al Motore di database di SQL Server