Freigeben über


Database.TargetRecoveryTime-Eigenschaft

Gets or sets the target recovery time of the used database.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property TargetRecoveryTime As Integer 
    Get 
    Set
'Usage
Dim instance As Database 
Dim value As Integer 

value = instance.TargetRecoveryTime

instance.TargetRecoveryTime = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int TargetRecoveryTime { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
virtual property int TargetRecoveryTime {
    int get () sealed;
    void set (int value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
abstract TargetRecoveryTime : int with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
override TargetRecoveryTime : int with get, set
final function get TargetRecoveryTime () : int 
final function set TargetRecoveryTime (value : int)

Eigenschaftswert

Typ: System.Int32
The target recovery time of the used database.

Implementiert

IDatabaseOptions.TargetRecoveryTime

Siehe auch

Verweis

Database Klasse

Microsoft.SqlServer.Management.Smo-Namespace