Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets a Boolean value that indicates whether code coverage collection is enabled for this test run.
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Property IsCodeCoverageEnabled As Boolean
'Usage
Dim instance As TestRunConfiguration 
Dim value As Boolean 
value = instance.IsCodeCoverageEnabled
instance.IsCodeCoverageEnabled = value
public bool IsCodeCoverageEnabled { get; set; }
public:
property bool IsCodeCoverageEnabled {
    bool get ();
    void set (bool value);
}
public function get IsCodeCoverageEnabled () : boolean 
public function set IsCodeCoverageEnabled (value : boolean)
Property Value
Type: System.Boolean
true if the code coverage collection is enabled; otherwise, false.
.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.