Sets the attached property value associated with the provided object.
Namespace:  Microsoft.TeamFoundation.Build.Workflow.Tracking
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public Shared Sub SetTrackingOption ( _
    instance As Object, _
    value As ActivityTrackingOption _
)
public static void SetTrackingOption(
    Object instance,
    ActivityTrackingOption value
)
public:
static void SetTrackingOption(
    Object^ instance, 
    ActivityTrackingOption value
)
static member SetTrackingOption : 
        instance:Object * 
        value:ActivityTrackingOption -> unit
public static function SetTrackingOption(
    instance : Object, 
    value : ActivityTrackingOption
)
Parameters
- instance 
 Type: System.Object- The activity on which to set the property 
- value 
 Type: Microsoft.TeamFoundation.Build.Workflow.Tracking.ActivityTrackingOption- The value to set 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.