Freigeben über


IDatabaseOptions.TargetRecoveryTime-Eigenschaft

Gets or sets the target recovery time.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Database_TargetRecoveryTimeDesc")> _
<DisplayNameKeyAttribute("Database_TargetRecoveryTimeName")> _
Property TargetRecoveryTime As Integer 
    Get 
    Set
'Usage
Dim instance As IDatabaseOptions 
Dim value As Integer 

value = instance.TargetRecoveryTime

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

Eigenschaftswert

Typ: System.Int32
The target recovery time.

Siehe auch

Verweis

IDatabaseOptions Schnittstelle

Microsoft.SqlServer.Management.Smo-Namespace