Service.Type Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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