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:

Type Definition

1

MSSQLSERVER is the SQL Server service.

2

SQLSERVERAGENT is the SQL Server Agent service.

3

MSFTESQL is the SQL Server Full-text Search Engine service.

4

MsDtsServer is the SQL Server SSIS Server service.

5

MSSQLServerOLAPService is the SQL Server Analysis Server service.

6

ReportServer is the SQL Server Reporting Services service.

7

SQLBrowser is the SQL Server Browser service.

8

NsService is the SQL Server Notification Services service.

Community Additions

ADD
Show: