Share via


ApprovalActivity.Duration Property

Indicates the number of days until the activity escalates or times out. The default value is taken from the DefaultTimeout parameter. The default value is 7.00:00:00.0000000 (7 days).

Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in Microsoft.ResourceManagement.dll)

Usage

'Usage
Dim instance As ApprovalActivity
Dim value As TimeSpan

value = instance.Duration

instance.Duration = value

Syntax

'Declaration
Public Property Duration As TimeSpan
public TimeSpan Duration { get; set; }
public:
property TimeSpan Duration {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
public TimeSpan get_Duration ()

/** @property */
public void set_Duration (TimeSpan value)
public function get Duration () : TimeSpan

public function set Duration (value : TimeSpan)

Property Value

A TimeSpan value that specifies the amount of time until the activity escalates or times out.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

ApprovalActivity Class
ApprovalActivity Members
Microsoft.ResourceManagement.Workflow.Activities Namespace
ApprovalActivity