Compartir a través de


IsRetentionEnabled Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Broker
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public Property IsRetentionEnabled As Boolean
    Get
    Set
'Uso
Dim instance As ServiceQueue
Dim value As Boolean

value = instance.IsRetentionEnabled

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

Valor de la propiedad

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