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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation