Share via


Trace.AutoRestart Property

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Property AutoRestart As Boolean
    Get
    Set
'Usage
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)

Property Value

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