SqlServiceType Property (SqlService Class)

Gets the type of the managed service.

Syntax

object.SqlServiceType [= value]

Parts

Property Value/Return Value

A uint32 value that specifies the SQL Server service type.

Remarks

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.

See Also

Concepts