PerformanceCounterPermissionAttribute::MachineName Property

 

Gets or sets the computer name for the performance counter.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public:
property String^ MachineName {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The server on which the category of the performance counter resides.

Exception Condition
ArgumentException

The MachineName format is invalid.

.NET Framework
Available since 1.1
Return to top
Show: