Partager via


DataCollectorSettings.IsEnabled Property

Gets or sets a value to enable or disable the diagnostic data adapter.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

'Declaration
Public Property IsEnabled As Boolean
public bool IsEnabled { get; set; }
public:
property bool IsEnabled {
    bool get ();
    void set (bool value);
}
member IsEnabled : bool with get, set
function get IsEnabled () : boolean 
function set IsEnabled (value : boolean)

Property Value

Type: Boolean
A bool value that indicates whether the diagnostic data adapter is enabled.

.NET Framework Security

See Also

Reference

DataCollectorSettings Class

Microsoft.VisualStudio.TestTools.Execution Namespace