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
Visual Basic |
Dim instance As ApprovalActivity
Dim value As TimeSpan
value = instance.Duration
instance.Duration = value
|
Syntax
Visual Basic |
Public Property Duration As TimeSpan
|
C# |
public TimeSpan Duration { get; set; }
|
C++ |
public:
property TimeSpan Duration {
TimeSpan get ();
void set (TimeSpan value);
}
|
J# |
/** @property */
public TimeSpan get_Duration ()
/** @property */
public void set_Duration (TimeSpan value)
|
JScript |
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
Target Platforms
Windows 2008 x64 Edition
See Also