Share via


StatusTask.Duration property

Gets or sets the total span of active working time for a task.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property Duration As String
    Get
    Set
'Usage
Dim instance As StatusTask
Dim value As String

value = instance.Duration

instance.Duration = value
[RemoteAttribute]
public string Duration { get; set; }

Property value

Type: System.String
The total span of active working time.

Remarks

To get the TimeSpan value for duration, use the DurationTimeSpan property.

See also

Reference

StatusTask class

StatusTask members

Microsoft.ProjectServer.Client namespace