パフォーマンス カウンタのコンピュータ名を取得または設定します。
Public Property MachineName As String
[C#]
public string MachineName {get; set;}
[C++]
public: __property String* get_MachineName();public: __property void set_MachineName(String*);
[JScript]
public function get MachineName() : String;public function set MachineName(String);
プロパティ値
パフォーマンス カウンタのカテゴリが格納されているサーバー。
例外
| 例外の種類 | 条件 |
|---|---|
| ArgumentException | MachineName の書式が無効です。 |
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
PerformanceCounterPermissionAttribute クラス | PerformanceCounterPermissionAttribute メンバ | System.Diagnostics 名前空間