共用方式為


Trace.AutoRestart 屬性

Gets or sets a value that indicates whether a Trace object will automatically restart when the Microsoft SQL Server 2005 Analysis Services (SSAS) service stops and restarts.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Property AutoRestart As Boolean 
    Get 
    Set
'用途
Dim instance As Trace 
Dim value As Boolean 

value = instance.AutoRestart

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

屬性值

型別:System.Boolean
true if Trace object will automatically restart when the Analysis Services service stops and restarts; otherwise, false.

請參閱

參考

Trace 類別

Microsoft.AnalysisServices 命名空間