Share via


Catalog.MaxProjectVersions Property

Gets or sets the maximum number of stored versions per project.

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

Syntax

'Declaration
<SfcPropertyAttribute(Data := True)> _
<DisplayNameKeyAttribute("Catalog_MaxProjectVersions")> _
<DisplayDescriptionKeyAttribute("Catalog_MaxProjectVersionsDesc")> _
<DisplayCategoryKeyAttribute("Catalog_ProjectVersions")> _
Public Property MaxProjectVersions As Integer 
    Get 
    Set
'Usage
Dim instance As Catalog 
Dim value As Integer 

value = instance.MaxProjectVersions

instance.MaxProjectVersions = value
[SfcPropertyAttribute(Data = true)]
[DisplayNameKeyAttribute("Catalog_MaxProjectVersions")]
[DisplayDescriptionKeyAttribute("Catalog_MaxProjectVersionsDesc")]
[DisplayCategoryKeyAttribute("Catalog_ProjectVersions")]
public int MaxProjectVersions { get; set; }
[SfcPropertyAttribute(Data = true)]
[DisplayNameKeyAttribute(L"Catalog_MaxProjectVersions")]
[DisplayDescriptionKeyAttribute(L"Catalog_MaxProjectVersionsDesc")]
[DisplayCategoryKeyAttribute(L"Catalog_ProjectVersions")]
public:
property int MaxProjectVersions {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(Data = true)>]
[<DisplayNameKeyAttribute("Catalog_MaxProjectVersions")>]
[<DisplayDescriptionKeyAttribute("Catalog_MaxProjectVersionsDesc")>]
[<DisplayCategoryKeyAttribute("Catalog_ProjectVersions")>]
member MaxProjectVersions : int with get, set
function get MaxProjectVersions () : int 
function set MaxProjectVersions (value : int)

Property Value

Type: System.Int32
The maximum number of stored versions per project.

See Also

Reference

Catalog Class

Microsoft.SqlServer.Management.IntegrationServices Namespace