ISimpleWorkItemAsyncStateWatcher.Add(ISimpleWorkItemAsyncState) 方法

定義

在觀看狀態池中新增一個非同步狀態。

public:
 Microsoft::SqlServer::Management::TaskForms::ISimpleWorkItemAsyncState ^ Add(Microsoft::SqlServer::Management::TaskForms::ISimpleWorkItemAsyncState ^ asyncState);
public Microsoft.SqlServer.Management.TaskForms.ISimpleWorkItemAsyncState Add(Microsoft.SqlServer.Management.TaskForms.ISimpleWorkItemAsyncState asyncState);
abstract member Add : Microsoft.SqlServer.Management.TaskForms.ISimpleWorkItemAsyncState -> Microsoft.SqlServer.Management.TaskForms.ISimpleWorkItemAsyncState
Public Function Add (asyncState As ISimpleWorkItemAsyncState) As ISimpleWorkItemAsyncState

參數

asyncState
ISimpleWorkItemAsyncState

非同步狀態將被輪詢。

傳回

新加入的非同步狀態,或是現有的非同步狀態(如果已有相同狀態)。

適用於