共用方式為


ProxyAccount.EnumSubSystems 方法

Enumerates a list of Microsoft SQL Server subsystems associated with the referenced proxy account.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function EnumSubSystems As DataTable
'用途
Dim instance As ProxyAccount 
Dim returnValue As DataTable 

returnValue = instance.EnumSubSystems()
public DataTable EnumSubSystems()
public:
DataTable^ EnumSubSystems()
member EnumSubSystems : unit -> DataTable
public function EnumSubSystems() : DataTable

傳回值

型別:System.Data.DataTable
A DataTable object value that contains a table of information about the SQL Server subsystems that are associated with the referenced proxy account.

範例

使用 SQL Server Agent 排程自動管理工作

請參閱

參考

ProxyAccount 類別

Microsoft.SqlServer.Management.Smo.Agent 命名空間

其他資源

自動化管理工作 (SQL Server Agent)

sp_help_proxy (Transact-SQL)