PolicyStore.HistoryRetentionInDays 속성

Gets or sets the number of days the policy store retains history.

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)

구문

‘선언
<SfcPropertyAttribute(Data := True)> _
Public Property HistoryRetentionInDays As Integer 
    Get 
    Set
‘사용 방법
Dim instance As PolicyStore 
Dim value As Integer 

value = instance.HistoryRetentionInDays

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

속성 값

유형: System.Int32
An integer value that specifies the number of days history is retained.

참고 항목

참조

PolicyStore 클래스

Microsoft.SqlServer.Management.Dmf 네임스페이스