共用方式為


SPWorkflowManager.StartWorkflow Method

Include Protected Members
Include Inherited Members

Creates and starts a new workflow instance.

Overload List

  Name Description
Public method StartWorkflow(SPListItem, SPWorkflowAssociation, String) Creates and starts a new workflow instance on a specified list item, based on a specified workflow association, with specified event parameters.
Public method StartWorkflow(SPListItem, SPWorkflowAssociation, String, Boolean) Creates and starts a new workflow instance on a specified list item, based on a specified workflow association, with specified event parameters, and optionally indicates whether this workflow is starting automatically or manually.
Public method StartWorkflow(Object, SPWorkflowAssociation, String, SPWorkflowRunOptions) Creates and starts a new workflow instance on a specified object, based on a specified workflow association, with specified event parameters, and with specified options for running the workflow instance.

Top

See Also

Reference

SPWorkflowManager Class

SPWorkflowManager Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation