Service.Type Property

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

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

public ManagedServiceType Type { get; }

Property Value

Type: ManagedServiceType
A ManagedServiceType object that specifies the type of SQL Server service.

Community Additions

ADD
Show: