Compartilhar via


LogToHistoryListActivity.Duration Property

Gets or sets the time that it takes for the workflow action to complete.

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

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Optional)> _
<BrowsableAttribute(True)> _
Public Property Duration As TimeSpan
    Get
    Set
'Usage
Dim instance As LogToHistoryListActivity
Dim value As TimeSpan

value = instance.Duration

instance.Duration = value
[ValidationOptionAttribute(ValidationOption.Optional)]
[BrowsableAttribute(true)]
public TimeSpan Duration { get; set; }

Property Value

Type: System.TimeSpan
The amount of time that elapsed during the execution of the workflow action.

See Also

Reference

LogToHistoryListActivity Class

LogToHistoryListActivity Members

Microsoft.SharePoint.WorkflowActions Namespace