Compartilhar via


Propriedade ChangeTrackingRetentionPeriod

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

Sintaxe

'Declaração
<DisplayNameKeyAttribute("Database_ChangeTrackingRetentionPeriodName")> _
<DisplayDescriptionKeyAttribute("Database_ChangeTrackingRetentionPeriodDesc")> _
Property ChangeTrackingRetentionPeriod As Integer
    Get
    Set
'Uso
Dim instance As IDatabaseOptions
Dim value As Integer

value = instance.ChangeTrackingRetentionPeriod

instance.ChangeTrackingRetentionPeriod = value
[DisplayNameKeyAttribute("Database_ChangeTrackingRetentionPeriodName")]
[DisplayDescriptionKeyAttribute("Database_ChangeTrackingRetentionPeriodDesc")]
int ChangeTrackingRetentionPeriod { get; set; }
[DisplayNameKeyAttribute(L"Database_ChangeTrackingRetentionPeriodName")]
[DisplayDescriptionKeyAttribute(L"Database_ChangeTrackingRetentionPeriodDesc")]
property int ChangeTrackingRetentionPeriod {
    int get ();
    void set (int value);
}
[<DisplayNameKeyAttribute("Database_ChangeTrackingRetentionPeriodName")>]
[<DisplayDescriptionKeyAttribute("Database_ChangeTrackingRetentionPeriodDesc")>]
abstract ChangeTrackingRetentionPeriod : int with get, set
function get ChangeTrackingRetentionPeriod () : int
function set ChangeTrackingRetentionPeriod (value : int)

Valor da propriedade

Tipo: System. . :: . .Int32