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. 标识为仅供参考。不提供支持。不保证以后的兼容性。. |
description |
nvarchar(81) |
Descriptive text. |
event_entry_point |
nvarchar(31) |
Name of an exported function. 标识为仅供参考。不提供支持。不保证以后的兼容性。. |
max_worker_/threads |
integer |
标识为仅供参考。不提供支持。不保证以后的兼容性。. |
start_entry_point |
nvarchar(31) |
Name of an exported function. 标识为仅供参考。不提供支持。不保证以后的兼容性。. |
stop_entry_point |
nvarchar(31) |
Name of an exported function. 标识为仅供参考。不提供支持。不保证以后的兼容性。. |
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. |