PerformanceCounterPermissionEntry.MachineName 属性

获取性能计数器的类别所驻留的服务器的名称。

**命名空间:**System.Diagnostics
**程序集:**System(在 system.dll 中)

语法

声明
Public ReadOnly Property MachineName As String
用法
Dim instance As PerformanceCounterPermissionEntry
Dim value As String

value = instance.MachineName
public string MachineName { get; }
public:
property String^ MachineName {
    String^ get ();
}
/** @property */
public String get_MachineName ()
public function get MachineName () : String

属性值

类别所驻留的服务器的名称。

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

PerformanceCounterPermissionEntry 类
PerformanceCounterPermissionEntry 成员
System.Diagnostics 命名空间