Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
SPWorkflow Class
 SPWorkflow Members
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
SPWorkflow Members (Microsoft.SharePoint.Workflow)

A workflow instance that has run or is currently running on an item.

The following tables list the members exposed by the SPWorkflow type.

  Name Description
Public method SPWorkflow Overloaded.  
Top
  Name Description
Public property AssociationId Gets the ID of the workflow association on which this workflow instance is based.
Public property Author Returns the user ID of the user who initiated the workflow instance.
Public property AuthorUser Returns the user who initiated the workflow instance.
Public property Created Returns the date and time at which the workflow instance was created.
Public property HasNewEvents  
Public property HistoryList Gets the list to which to log workflow history events for this workflow instance.
Public property HistoryListId Gets the list ID of the list to which to log workflow history events for this workflow instance.
Public property InstanceId Gets the ID of this workflow instance.
Public property InternalState Gets the current internal state of the workflow instance.
Public property IsCompleted True if the workflow instance has completed running; False if the workflow instance is still in progress.
Public property IsLocked True if the workflow instance is locked; False if it is not.
Public property ItemGuid Gets the ID of the item on which this workflow instance was created.
Public property ItemId Gets the list item ID of the item on which this workflow instance was created.
Public property ListId Gets the ID of the list on which this workflow instance was created.
Public property Modifications Gets a collection of the workflow modifications currently available (that is, in scope) for this workflow instance.
Public property Modified Gets the date and time of the latest modification to the workflow instance.
Public property ParentAssociation Gets the workflow association on which the workflow instance is based.
Public property ParentItem Gets the list item on which this workflow instance was created.
Public property ParentList Gets the list on which this workflow instance was created.
Public property ParentWeb Gets the SharePoint site on which this workflow instance was created.
Public property SiteId Gets the site collection on which this workflow instance was created.
Public property TaskFilter Gets or sets the filter criteria applied to the workflow task collection, such as to whom the workflow is assigned, and the workflow state.
Public property TaskList Gets the workflow task list.
Public property TaskListId Gets the list ID of the workflow task list.
Public property Tasks Gets the collection of workflow tasks for this workflow instance.
Public property VisibleParentItem  
Public property WebId Gets the ID of the SharePoint site on which this workflow instance was created.
Public property Xml Returns a string that represents the workflow instance in XML format.
Top
(see also Protected Methods )
  Name Description
Public method CompareTo  
Public method CreateHistoryDurationEvent Writes a workflow history duration event to the specified workflow history list.
Public method CreateHistoryEvent Overloaded.  
Public method Equals  Overloaded. (inherited from Object)
Public method GetHashCode  (inherited from Object)
Public method GetType  (inherited from Object)
Public method Static ReferenceEquals  (inherited from Object)
Public method ToString  (inherited from Object)
Top
  Name Description
Protected method Finalize  (inherited from Object)
Protected method MemberwiseClone  (inherited from Object)
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker