共用方式為


EventLogSettings.MachineName Property

Definition

Gets or sets the name of the machine with the event log. If null or not specified, local machine is the default.

public:
 property System::String ^ MachineName { System::String ^ get(); void set(System::String ^ value); };
public string? MachineName { get; set; }
member this.MachineName : string with get, set
Public Property MachineName As String

Property Value

Applies to