Share via


CollectionSet.DaysUntilExpiration Property

Gets or sets the number of days that the collected data is saved in the management data warehouse.

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

Syntax

'Declaration
<SfcPropertyAttribute(Required := False)> _
Public Property DaysUntilExpiration As Short
    Get
    Set
'Usage
Dim instance As CollectionSet
Dim value As Short

value = instance.DaysUntilExpiration

instance.DaysUntilExpiration = value
[SfcPropertyAttribute(Required = false)]
public short DaysUntilExpiration { get; set; }
[SfcPropertyAttribute(Required = false)]
public:
property short DaysUntilExpiration {
    short get ();
    void set (short value);
}
[<SfcPropertyAttribute(Required = false)>]
member DaysUntilExpiration : int16 with get, set
function get DaysUntilExpiration () : short
function set DaysUntilExpiration (value : short)

Property Value

Type: System.Int16
A Int16 value that is the number of days.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.