ISimpleWorkItem.Initialize(ITaskManager, IContext) 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.
Initializes the work item using provided context. If context is incompatible with work item type, Initialize can return false and this item would be ignored.
public:
void Initialize(Microsoft::SqlServer::Management::TaskForms::ITaskManager ^ taskManager, Microsoft::SqlServer::Management::Data::IContext ^ context);
public void Initialize (Microsoft.SqlServer.Management.TaskForms.ITaskManager taskManager, Microsoft.SqlServer.Management.Data.IContext context);
abstract member Initialize : Microsoft.SqlServer.Management.TaskForms.ITaskManager * Microsoft.SqlServer.Management.Data.IContext -> unit
Public Sub Initialize (taskManager As ITaskManager, context As IContext)
Parameters
- taskManager
- ITaskManager
The Task Manager.
- context
- IContext
The context.