SqlServiceType Property (SqlService Class)


Gets the type of the managed service.

object.SqlServiceType [= value]  

A SqlService Class object that represents the service.

A uint32 value that specifies the SQL Server service type.

Return values can be one of the following:

1MSSQLSERVER is the SQL Server service.
2SQLSERVERAGENT is the SQL Server Agent service.
3MSFTESQL is the SQL Server Full-text Search Engine service.
4MsDtsServer is the Integration Services service.
5MSSQLServerOLAPService is the Analysis Services service.
6ReportServer is the Reporting Services service.
7SQLBrowser is the SQL Server Browser service.

Starting and Stopping Services

Community Additions