Partilhar via


Propriedade HistoryRetentionInDays

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(Data := True)> _
Public Property HistoryRetentionInDays As Integer
    Get
    Set
'Uso
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)

Valor da propriedade

Tipo: System. . :: . .Int32