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)


Visual Basic
Dim instance As ApprovalActivity
Dim value As Integer

value = instance.Threshold

instance.Threshold = value


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

/** @property */
public void set_Threshold (int value)
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.


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.


Target Platforms

Windows 2008 x64 Edition

See Also