Свойство ServiceQueue.IsRetentionEnabled
Gets or sets the Boolean property that specifies whether the retention is enabled for the service queue.
Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsRetentionEnabled As Boolean
Get
Set
'Применение
Dim instance As ServiceQueue
Dim value As Boolean
value = instance.IsRetentionEnabled
instance.IsRetentionEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsRetentionEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsRetentionEnabled {
bool get ();
void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsRetentionEnabled : bool with get, set
function get IsRetentionEnabled () : boolean
function set IsRetentionEnabled (value : boolean)
Значение свойства
Тип: 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.
Примеры
Readme_ServiceBrokerConfiguration
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo.Broker
Другие ресурсы
Разработка (компонент Service Broker)
Управление компонентом Service Broker