Contains the total number of approvals that are required for the activity to be approved.
Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in microsoft.resourcemanagement.dll)

Usage

Visual Basic
Dim instance As ApprovalActivity
Dim value As Integer

value = instance.Threshold

instance.Threshold = value

Syntax

Visual Basic
Public Property Threshold As Integer
C#
public int Threshold { get; set; }
C++
public:
property int Threshold {
		int get ();
		void set (int value);
}
J#
/** @property */
public int get_Threshold ()

/** @property */
public void set_Threshold (int value)
JScript
public function get Threshold () : int

public function set Threshold (value : int)

Property Value

A Int32 value that indicates the total number of approvals that are needed for the request to be approved.

Remarks

This value indicates the total number of approvals that are required in order to approve the request. As approvals are received, the value is not modified to indicate the number of approvals that still must be received to approve the request.

If any of the approvers reject the request, the ApprovalActivity terminates, and the associated request is rejected. The ApprovalActivity validates all ApprovalResponses as soon as the Threshold value is reached to detect changes to group memberships that occur during the lifetime of the instance.


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