共用方式為


Utility.MdwRetentionLengthInDaysForHoursHistory 屬性

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.

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

語法

'宣告
<SfcPropertyAttribute(Data := True)> _
Public Property MdwRetentionLengthInDaysForHoursHistory As Integer 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

Utility 類別

Microsoft.SqlServer.Management.Utility 命名空間