SqlServiceType Property (SqlServiceAdvancedProperty Class)

 

Gets the type of the managed service associated with the advanced property.

  
object  
.SetBoolValue(  
NumValue  
)  
  

object
A SqlServiceAdvancedProperty Class object that represents an advanced property.

A uint32 value that specifies the SQL Server Service type.

Return values can be one of the following:

TypeDefinition
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

Show: