Share via


PublishedTask.Duration property

Gets the amount of time it takes to complete a task.

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

Syntax

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

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

Property value

Type: System.String
An amount of time.

Remarks

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

See also

Reference

PublishedTask class

PublishedTask members

Microsoft.ProjectServer.Client namespace