SPWorkflowTemplateCollection.GetTemplateByName Method
Gets the workflow template based on its name.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- name
- Type: System.String
The name of the workflow template to return.
- cultureInfo
- Type: System.Globalization.CultureInfo
Return Value
Type: Microsoft.SharePoint.Workflow.SPWorkflowTemplateAn SPWorkflowTemplate object that represents the workflow template.