Share via

SPWorkflowManager.GetWorkflowTemplatesByCategory method

Returns a collection of the workflow templates belonging to the specified category.

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


Public Function GetWorkflowTemplatesByCategory ( _
    web As SPWeb, _
    strReqCategs As String _
) As SPWorkflowTemplateCollection
Dim instance As SPWorkflowManager
Dim web As SPWeb
Dim strReqCategs As String
Dim returnValue As SPWorkflowTemplateCollection

returnValue = instance.GetWorkflowTemplatesByCategory(web, _
public SPWorkflowTemplateCollection GetWorkflowTemplatesByCategory(
    SPWeb web,
    string strReqCategs


  • strReqCategs
    Type: System.String

    The category of workflow templates you want.

Return value

Type: Microsoft.SharePoint.Workflow.SPWorkflowTemplateCollection
A SPWorkflowTemplateCollection object that represents the collection of workflow templates.


This method gets the workflow templates of the category specified by the strReqCategs parameter on the website specified by the web parameter.

See also


SPWorkflowManager class

SPWorkflowManager 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