EventLogConfiguration.LogFilePath 属性

定义

获取或设置文件目录路径,该路径指向存储日志事件的文件的位置。

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

属性值

一个字符串,其中包含事件日志文件的路径。

注解

如果此属性的值已更改,请调用 SaveChanges 方法以保存更改。

适用于