共用方式為


SPWorkflowEventProperties.CompletionType Property

Gets the reason the workflow instance ended.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property CompletionType As SPWorkflowEventCompletionType
    Get
'Usage
Dim instance As SPWorkflowEventProperties
Dim value As SPWorkflowEventCompletionType

value = instance.CompletionType
public SPWorkflowEventCompletionType CompletionType { get; }

Property Value

Type: Microsoft.SharePoint.Workflow.SPWorkflowEventCompletionType
The reason the workflow instance was ended.

Remarks

This property is only valid when the EventType property is WorkflowCompleted

See Also

Reference

SPWorkflowEventProperties Class

SPWorkflowEventProperties Members

Microsoft.SharePoint.Workflow Namespace