共用方式為


MdwRetentionLengthInDaysForDaysHistory 屬性

Gets or sets the length, in days, that data will be retained in the Management Data Warehouse (MDW) history table for per-day entries.

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
<SfcPropertyAttribute(Data := True)> _
Public Property MdwRetentionLengthInDaysForDaysHistory As Integer
    Get
    Set
'用途
Dim instance As Utility
Dim value As Integer

value = instance.MdwRetentionLengthInDaysForDaysHistory

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

屬性值

型別:System. . :: . .Int32
An Int32 value specifying the length, in days, that data will be retained in the Management Data Warehouse (MDW) history table.