SqlServiceType Property (SqlService Class)

Gets the type of the managed service.


object.SqlServiceType [= value]

object

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:

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 Integration Services service.

5

MSSQLServerOLAPService is the Analysis Services service.

6

ReportServer is the Reporting Services service.

7

SQLBrowser is the SQL Server Browser service.

Community Additions

ADD
Show: