Gets or sets a value indicating whether the AutoStart object is active or not.
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property AutoStart As Boolean
Get
Set
'用途
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)
屬性值
型別:System.Boolean
Returns True if the AutoStart object is active, otherwise False.