Share 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