共用方式為


EnumSubSystems Method

未來的 Microsoft SQL Server 發行版本將不再提供此功能。請避免在新的開發工作中使用此功能,並計劃修改目前使用此功能的應用程式。

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

語法

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