DataCollectorSettings.IsEnabled 属性

获取或设置一个值,该值用于启用或禁用诊断数据适配器。

命名空间:  Microsoft.VisualStudio.TestTools.Execution
程序集:  Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)

语法

声明
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)

属性值

类型:System.Boolean
一个 bool 值,指示是否已启用诊断数据适配器。

.NET Framework 安全性

请参见

参考

DataCollectorSettings 类

Microsoft.VisualStudio.TestTools.Execution 命名空间