后续版本的 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. |