ISimpleWorkItemAsyncStateWatcher.Add(ISimpleWorkItemAsyncState) Methode

Definition

Fügt dem Pool der überwachten Status einen asynchronen Status hinzu.

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

Parameter

asyncState
ISimpleWorkItemAsyncState

Der ansynchrone Status, der abgefragt werden soll.

Gibt zurück

Neu hinzugefügter asynchroner Status oder ein vorhandener Status, wenn bereits ein identischer Status vorhanden ist.

Gilt für: