ManagedComputer.Services Propiedad
Represents a collection of Service objects. Each Service object represents a SQL Server service defined on the WMI installation.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado: Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxis
'Declaración
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 de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.Wmi.ServiceCollection
A ServiceCollection object that represents all the SQL Server services defined on the WMI installation.
Ejemplos
Administrar servicios y configuración de red utilizando el proveedor WMI
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Wmi