TelemetrySession.UseVsIsOptedIn Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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