Share via


Task.TotalSlack property

Gets the time that the task's finish date can be delayed without delaying the project's finish date.

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

Syntax

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

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

Property value

Type: System.String
The slack time presented in a format such as person-hours or days.

Remarks

To get the TimeSpan value for the total slack, use the TotalSlackTimeSpan property.

See also

Reference

Task class

Task members

Microsoft.ProjectServer.Client namespace