SPWorkflowTemplate class

Represents a workflow template currently deployed on the SharePoint site, and contains members that you can use to get or set information about the template, such as default instantiation data for creating a workflow association from the template.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Workflow.SPWorkflowTemplate

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SerializableAttribute> _
<SubsetCallableTypeAttribute> _
<ObfuscationAttribute(Exclude := True, Feature := "renaming", StripAfterObfuscation := True)> _
Public NotInheritable Class SPWorkflowTemplate _
    Inherits SPAutoSerializingObject _
    Implements IComparer, ICloneable
'Usage
Dim instance As SPWorkflowTemplate
[SerializableAttribute]
[SubsetCallableTypeAttribute]
[ObfuscationAttribute(Exclude = true, Feature = "renaming", StripAfterObfuscation = true)]
public sealed class SPWorkflowTemplate : SPAutoSerializingObject, 
    IComparer, ICloneable

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPWorkflowTemplate members

Microsoft.SharePoint.Workflow namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview