TelemetrySession.UseVsIsOptedIn Method

Definition

Overloads

UseVsIsOptedIn()

Reads and set VS OptIn status. Calculate IsOptedIn status based on OptedIn status from all installed versions of VS. If all found OptedIn statuses are true we return true, otherwise we return false.

UseVsIsOptedIn(String)

Reads and set VS OptIn status.

UseVsIsOptedIn()

Reads and set VS OptIn status. Calculate IsOptedIn status based on OptedIn status from all installed versions of VS. If all found OptedIn statuses are true we return true, otherwise we return false.

public:
 void UseVsIsOptedIn();
public void UseVsIsOptedIn ();
member this.UseVsIsOptedIn : unit -> unit
Public Sub UseVsIsOptedIn ()

Applies to

UseVsIsOptedIn(String)

Reads and set VS OptIn status.

public:
 void UseVsIsOptedIn(System::String ^ productVersion);
public void UseVsIsOptedIn (string productVersion);
member this.UseVsIsOptedIn : string -> unit
Public Sub UseVsIsOptedIn (productVersion As String)

Parameters

productVersion
String

VS product version so it is possible to build settings path

Applies to