ISimpleWorkItemAsyncStateWatcher.Add(ISimpleWorkItemAsyncState) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an async state to the pool of watched states.
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
Parameters
- asyncState
- ISimpleWorkItemAsyncState
Async state to be polled.
Returns
Newly added async state or an existing one if an identical one already exists.