Catalog.VersionCleanupEnabled Property

Gets or sets a value that indicates whether the version cleanup is enabled.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Catalog_VersionCleanupEnabledDesc")> _
<SfcPropertyAttribute(Data := True)> _
<DisplayCategoryKeyAttribute("Catalog_ProjectVersions")> _
<DisplayNameKeyAttribute("Catalog_VersionCleanupEnabled")> _
Public Property VersionCleanupEnabled As Boolean 
    Get 
    Set
'Usage
Dim instance As Catalog 
Dim value As Boolean 

value = instance.VersionCleanupEnabled

instance.VersionCleanupEnabled = value
[DisplayDescriptionKeyAttribute("Catalog_VersionCleanupEnabledDesc")]
[SfcPropertyAttribute(Data = true)]
[DisplayCategoryKeyAttribute("Catalog_ProjectVersions")]
[DisplayNameKeyAttribute("Catalog_VersionCleanupEnabled")]
public bool VersionCleanupEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"Catalog_VersionCleanupEnabledDesc")]
[SfcPropertyAttribute(Data = true)]
[DisplayCategoryKeyAttribute(L"Catalog_ProjectVersions")]
[DisplayNameKeyAttribute(L"Catalog_VersionCleanupEnabled")]
public:
property bool VersionCleanupEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayDescriptionKeyAttribute("Catalog_VersionCleanupEnabledDesc")>]
[<SfcPropertyAttribute(Data = true)>]
[<DisplayCategoryKeyAttribute("Catalog_ProjectVersions")>]
[<DisplayNameKeyAttribute("Catalog_VersionCleanupEnabled")>]
member VersionCleanupEnabled : bool with get, set
function get VersionCleanupEnabled () : boolean 
function set VersionCleanupEnabled (value : boolean)

Property Value

Type: System.Boolean
true if the version cleanup is enabled; otherwise, false.

See Also

Reference

Catalog Class

Microsoft.SqlServer.Management.IntegrationServices Namespace