LogFileRollover 属性

Gets or sets whether logging of Trace output will roll over to a new file, or whether it will stop when the maximum log file size that is specified in LogFileSize is reached.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Property LogFileRollover As Boolean
    Get
    Set
用法
Dim instance As Trace
Dim value As Boolean

value = instance.LogFileRollover

instance.LogFileRollover = value
public bool LogFileRollover { get; set; }
public:
property bool LogFileRollover {
    bool get ();
    void set (bool value);
}
member LogFileRollover : bool with get, set
function get LogFileRollover () : boolean
function set LogFileRollover (value : boolean)

属性值

类型:System. . :: . .Boolean
true if logging of Trace output will roll over to a new file when the maximum log file size that is specified in LogFileSize is reached; false if it should stop.

注释

If the value of the LogFileRollover parameter is set to true, a new file is started when the size of the log file exceeds the value that is specified in the LogFileSize; otherwise, logging stops.