This topic has not yet been rated - Rate this topic

ISimpleWorkItem Interface

Represents the work item that doesn't require any additional user input except context it is executed in.

Namespace:  Microsoft.SqlServer.Management.TaskForms
Assembly:  Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

public interface ISimpleWorkItem : INotifyPropertyChanged

The ISimpleWorkItem type exposes the following members.

  NameDescription
Public propertyExcludedGets whether the current work item should be excluded from processing.
Public propertyExecutionErrorGets the detailed error information.
Public propertyExecutionErrorMessageGets the error message.
Public propertyNameGets the work item display name.
Public propertyStateGets the work item state.
Public propertyStateImageGets the image representing state.
Public propertyStateTextGets the localized state text.
Top
  NameDescription
Public methodAbortAborts the work item.
Public methodInitializeInitializes 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 methodResetResets the work item into pending state.
Public methodRunExecutes the work item.
Public methodScriptScripts the work item.
Top
  NameDescription
Public eventPropertyChanged (Inherited from INotifyPropertyChanged.)
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.