Session.AutoStart Property
Gets or sets a value indicating whether the AutoStart object is active or not.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property AutoStart As Boolean
Get
Set
'Usage
Dim instance As Session
Dim value As Boolean
value = instance.AutoStart
instance.AutoStart = value
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public bool AutoStart { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property bool AutoStart {
bool get ();
void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member AutoStart : bool with get, set
function get AutoStart () : boolean
function set AutoStart (value : boolean)
Type: System.Boolean
Returns True if the AutoStart object is active, otherwise False.