EventLogRecord.MachineName 属性

定义

获取在其上记录此事件的计算机的名称。Gets the name of the computer on which this event was logged.

public:
 virtual property System::String ^ MachineName { System::String ^ get(); };
public override string MachineName { get; }
member this.MachineName : string
Public Overrides ReadOnly Property MachineName As String

属性值

String

返回一个包含在其上记录此事件的计算机的名称的字符串。Returns a string that contains the name of the computer on which this event was logged.

适用于