Trace.LogFileRollover Property

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 (in microsoft.analysisservices.dll)

语法

声明
<DefaultValueAttribute(False)> _
Public Property LogFileRollover As Boolean
[DefaultValueAttribute(false)] 
public bool LogFileRollover { get; set; }
[DefaultValueAttribute(false)] 
public:
property bool LogFileRollover {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_LogFileRollover ()

/** @property */
public void set_LogFileRollover (boolean value)
public function get LogFileRollover () : boolean

public function set LogFileRollover (value : 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.

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Trace Class
Trace Members
Microsoft.AnalysisServices Namespace