Service.Type Property

Definition

Gets the type of service, such as Microsoft Search service, SQL Server Agent service, or SQL Server service.

public:
 property Microsoft::SqlServer::Management::Smo::Wmi::ManagedServiceType Type { Microsoft::SqlServer::Management::Smo::Wmi::ManagedServiceType get(); };
public Microsoft.SqlServer.Management.Smo.Wmi.ManagedServiceType Type { get; }
member this.Type : Microsoft.SqlServer.Management.Smo.Wmi.ManagedServiceType
Public ReadOnly Property Type As ManagedServiceType

Property Value

Microsoft.SqlServer.Management.Smo.Wmi.ManagedServiceType

A Microsoft.SqlServer.Management.Smo.Wmi.ManagedServiceType object that specifies the type of SQL Server service.

Examples

Managing Services and Network Settings by Using WMI Provider

Applies to