Share via


Propriedade do RDL ManagedComputer.Services

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 (em Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxe

'Declaração
Public ReadOnly Property Services As ServiceCollection 
    Get
'Uso
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

Valor da propriedade

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

Exemplos

Gerenciando serviços e configurações de rede através do provedor do WMI

Consulte também

Referência

ManagedComputer Classe

Namespace Microsoft.SqlServer.Management.Smo.Wmi

Outros recursos

Conectando ao Mecanismo de Banco de Dados do SQL Server