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.
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Workflow.SPWorkflowTemplate
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Workflow.SPWorkflowTemplate
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online