共用方式為


PerformanceCounterValue.MachineName 屬性

取得用來收集效能計數器值的電腦名稱。

命名空間:  Microsoft.VisualStudio.TestTools.LoadTesting
組件:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (在 Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll 中)

語法

'宣告
Public ReadOnly Property MachineName As String
public string MachineName { get; }
public:
property String^ MachineName {
    String^ get ();
}
member MachineName : string with get
function get MachineName () : String

屬性值

型別:System.String
用來收集效能計數器值的電腦名稱。

.NET Framework 安全性

請參閱

參考

PerformanceCounterValue 類別

Microsoft.VisualStudio.TestTools.LoadTesting 命名空間