Delen via


Utility.MdwRetentionLengthInDaysForHoursHistory Property

Gets or sets the length in days that data will be retained in the utility management data warehouse (UMDW) history table for per-hour entries.

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

Syntax

'Declaration
<SfcPropertyAttribute(Data := True)> _
Public Property MdwRetentionLengthInDaysForHoursHistory As Integer
    Get
    Set
'Usage
Dim instance As Utility
Dim value As Integer

value = instance.MdwRetentionLengthInDaysForHoursHistory

instance.MdwRetentionLengthInDaysForHoursHistory = value
[SfcPropertyAttribute(Data = true)]
public int MdwRetentionLengthInDaysForHoursHistory { get; set; }
[SfcPropertyAttribute(Data = true)]
public:
property int MdwRetentionLengthInDaysForHoursHistory {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(Data = true)>]
member MdwRetentionLengthInDaysForHoursHistory : int with get, set
function get MdwRetentionLengthInDaysForHoursHistory () : int
function set MdwRetentionLengthInDaysForHoursHistory (value : int)

Property Value

Type: System.Int32
An Int32 value specifying the length, in days, that data will be retained in the UMDW history table.