Partager via


Propriété ManagedComputer.Services

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Services As ServiceCollection 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

Gestion des services et des paramètres réseau à l'aide du fournisseur WMI

Voir aussi

Référence

ManagedComputer Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Wmi

Autres ressources

Connexion au moteur de base de données SQL Server