Database.TargetRecoveryTime Property
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)
Property Value
Type: System.Int32
The target recovery time of the used database.
Implements
IDatabaseOptions.TargetRecoveryTime