SPWorkflowManager Methods

The SPWorkflowManager type exposes the following members.

  Name Description
Public method Static member CancelWorkflow Cancels the specified workflow instance.
Public method CountWorkflowAssociations Returns the number of workflow associations, based on the specified workflow template, for the specified site collection.
Public method CountWorkflows(SPContentType) Returns the IDs of the workflow associations and the count of instances for each association.
Public method CountWorkflows(SPList) Returns the identifiers of the workflow associations on the list and the count of instances for each association.
Public method CountWorkflows(SPWeb) Returns the identifiers of the associations on this SPWeb and the number of running instances per association.
Public method CountWorkflows(SPWorkflowAssociation) Returns the number of workflow instances for the specified workflow association.
Public method CountWorkflows(SPWorkflowTemplate, SPSite) Returns the number of workflow instances for the specified workflow template, on the specified site collection.
Public method Dispose() Releases all resources used by the current instance of the SPWorkflowManager class.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the SPWorkflowManager class and optionally releases the managed resources.
Public method Equals (Inherited from Object.)
Protected method Finalize Releases the unmanaged resources used by the SPWorkflowManager class. (Overrides Object.Finalize().)
Public method GetHashCode (Inherited from Object.)
Public method GetItemActiveWorkflows Returns a collection of the workflow instances currently running on the specified list item.
Public method GetItemTasks(SPListItem) Returns a collection of workflow tasks for the specified list item.
Public method GetItemTasks(SPListItem, SPWorkflowFilter) Returns a filtered collection of workflow tasks for the specified list item.
Public method GetItemWorkflows(SPListItem) Returns a collection of all the workflow instances that have ever run on the specified list item.
Public method GetItemWorkflows(SPListItem, SPWorkflowFilter) Returns a filtered collection of all the workflow instances that have ever run on the specified list item.
Public method GetType (Inherited from Object.)
Public method GetWorkflowAvailableRunCount Obtains the number of workflow instances that can be started simultaneously, without being postponed, at the moment of the call.
Public method GetWorkflowTasks(SPListItem, SPWorkflow) Returns a collection of all tasks belonging to the specified workflow instance.
Public method GetWorkflowTasks(SPListItem, Guid) Returns a collection of all tasks belonging to the specified workflow instance.
Public method GetWorkflowTasks(SPListItem, SPWorkflow, SPWorkflowFilter) Returns a filtered collection of the tasks belonging to the specified workflow instance.
Public method GetWorkflowTasks(SPListItem, Guid, SPWorkflowFilter) Returns a filtered collection of the tasks belonging to the specified workflow instance.
Public method GetWorkflowTemplatesByCategory Returns a collection of the workflow templates belonging to the specified category.
Protected method MemberwiseClone (Inherited from Object.)
Public method ModifyWorkflow Modifies the specified workflow instance, as specified in the context data.
Public method RemoveWorkflowFromListItem Removes the specified workflow instance from the list item to which it was attached.
Public method StartWorkflow(SPListItem, SPWorkflowAssociation, String) Creates and starts a new workflow instance on a specified list item, based on a specified workflow association, with specified event parameters.
Public method StartWorkflow(SPListItem, SPWorkflowAssociation, String, Boolean) Creates and starts a new workflow instance on a specified list item, based on a specified workflow association, with specified event parameters, and optionally indicates whether this workflow is starting automatically or manually.
Public method StartWorkflow(Object, SPWorkflowAssociation, String, SPWorkflowRunOptions) Creates and starts a new workflow instance on a specified object, based on a specified workflow association, with specified event parameters, and with specified options for running the workflow instance.
Public method ToString (Inherited from Object.)
Top
Show: