SPWorkflowTemplate Members (Microsoft.SharePoint.Workflow)

Represents a workflow template currently deployed on the SharePoint site, and contains members you can use to get or set information about the template, such as the instantiation data and the history and task lists for the template.

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

Public Properties

  Name Description
Public property AllowAsyncManualStart True to allow Windows SharePoint Services to start the workflow asynchronously, even if the workflow was manually initiated.
Public property AllowManual Gets and sets whether workflow instances based on this workflow template can be started manually. True to be able to start workflow instances manually.
Public property AssociationData Gets or sets the association data for workflow associations based on this workflow template.
Public property AssociationUrl Gets the URL of the workflow association form to use with the workflow template.
Public property AutoCleanupDays  
Public property AutoStartChange True to have workflow instances based on this workflow template start automatically when an item is changed.
Public property AutoStartCreate True to have workflow instances based on this workflow template start automatically when an item is created.
Public property BaseId Gets the workflow template ID.
Public property CompressInstanceData  
Public property Description Gets and sets the description for the workflow template. This description is displayed in the Windows SharePoint Services user interface.
Public property Id Gets the workflow template ID.
Public property InstantiationUrl Returns the URL of the workflow initiation form for the workflow template.
Public property IsDeclarative Returns True if the workflow template is a declarative, files-based workflow, False if the workflow template is a compiled workflow assembly.
Public property Item  
Public property ModificationUrl Gets the URL of the workflow modification form.
Public property Name Gets the name of the workflow template.
Public property PermissionsManual  
Public property StatusColumn True to display a status column for workflow instances based on this workflow template in the user interface.
Public property StatusUrl Specifies the URL of a custom workflow status page for the workflow.
Public property TaskListContentTypeId Returns the content type ID of the content type assigned to the workflow task list.
Public property UpgradedPersistedProperties  Gets the collection of field names and values for fields that were deleted or changed. (inherited from SPAutoSerializingObject)
Public property Xml Returns a string that represents the workflow template definition in XML format.
Top
Public Methods

(see also Protected Methods )
  Name Description
Public method Clone Creates a copy of the workflow template.
Public method Equals  Overloaded. (inherited from Object)
Public method GetHashCode  (inherited from Object)
Public method GetObjectData  (inherited from SPAutoSerializingObject)
Public method GetStatusChoices Returns a string collection of the possible status choices for this workflow template.
Public method GetType  (inherited from Object)
Public method Static IsCategoryApplicable  
Public method Static ReferenceEquals  (inherited from Object)
Public method ToString  (inherited from Object)
Top
Protected Methods

  Name Description
Protected method Finalize  (inherited from Object)
Protected method MemberwiseClone  (inherited from Object)
Protected method OnDeserialization  Called after the object has been deserialized from the file system cache or the database.(inherited from SPAutoSerializingObject)
Protected method UpdateParent  Causes the containing SPPersistedObject, if one exists, to update its state. (inherited from SPAutoSerializingObject)
Top
Explicit Interface Implementations

  Name Description
Explicit interface implementation Method System.Collections.IComparer.Compare  
Top
See Also

Tags :


Page view tracker