Udostępnij za pośrednictwem


EnumSubSystems Method

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The EnumSubSystems method returns a QueryResults object that enumerates installed Microsoft SQL Server Agent execution subsystems.

Syntax

object
.EnumSubSystems( )
as 
QueryResults

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT EnumSubSystems(
LPSQLDMOQUERYRESULTS* ppResults);

Returns

A QueryResults object that contains one result set defined by these columns.

Column Data type Description

agent_exe

nvarchar(81)

When applicable, executable file launched by agent. Reserved.

description

nvarchar(81)

Descriptive text.

event_entry_point

nvarchar(31)

Name of an exported function. Reserved.

max_worker_/threads

integer

Reserved.

start_entry_point

nvarchar(31)

Name of an exported function. Reserved.

stop_entry_point

nvarchar(31)

Name of an exported function. Reserved.

subsystem

nvarchar(41)

Name of the subsystem. The subsystem is specified by name when creating a job step.

subsystem_dll

nvarchar(81)

Dynamic link library implementing execution subsystem.

Applies To:

JobServer Object