共用方式為


Trace.LogFileRollover 屬性

Gets or sets a value that indicates 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.

請參閱

參考

Trace 類別

Microsoft.AnalysisServices 命名空間