共用方式為


IsActivationEnabled 屬性

Gets or sets the Boolean property that specifies whether activation is enabled for the service queue.

命名空間:  Microsoft.SqlServer.Management.Smo.Broker
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property IsActivationEnabled As Boolean
    Get
    Set
'用途
Dim instance As ServiceQueue
Dim value As Boolean

value = instance.IsActivationEnabled

instance.IsActivationEnabled = value
[SfcPropertyAttribute]
public bool IsActivationEnabled { get; set; }
[SfcPropertyAttribute]
public:
property bool IsActivationEnabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member IsActivationEnabled : bool with get, set
function get IsActivationEnabled () : boolean
function set IsActivationEnabled (value : boolean)

屬性值

型別:System. . :: . .Boolean
A Boolean value that specifies whether activation is enabled for the service queue.
If True, activation is enabled for the service queue.
If False (default), activation is disabled for the service queue.