EventLogConfiguration.LogFilePath 屬性

定義

取得或設定存放事件之記錄檔的目錄路徑。Gets or sets the file directory path to the location of the file where the events are stored for the log.

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

屬性值

包含事件記錄檔路徑的字串。A string that contains the path to the event log file.

備註

如果此屬性的值已變更,請呼叫 SaveChanges 方法來儲存變更。If the value of this property is changed, call the SaveChanges method to save the changes.

適用於

另請參閱