Propriété Session.AutoStart
Gets or sets a value indicating whether the AutoStart object is active or not.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property AutoStart As Boolean
Get
Set
'Utilisation
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)
Valeur de propriété
Type : System.Boolean
Returns True if the AutoStart object is active, otherwise False.