IDatabaseMaintenanceFacet.TargetRecoveryTime Property
Gets or sets the database for the target recovery time.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("Database_TargetRecoveryTimeName")> _
<DisplayDescriptionKeyAttribute("Database_TargetRecoveryTimeDesc")> _
Property TargetRecoveryTime As Integer
Get
Set
'Usage
Dim instance As IDatabaseMaintenanceFacet
Dim value As Integer
value = instance.TargetRecoveryTime
instance.TargetRecoveryTime = value
[DisplayNameKeyAttribute("Database_TargetRecoveryTimeName")]
[DisplayDescriptionKeyAttribute("Database_TargetRecoveryTimeDesc")]
int TargetRecoveryTime { get; set; }
[DisplayNameKeyAttribute(L"Database_TargetRecoveryTimeName")]
[DisplayDescriptionKeyAttribute(L"Database_TargetRecoveryTimeDesc")]
property int TargetRecoveryTime {
int get ();
void set (int value);
}
[<DisplayNameKeyAttribute("Database_TargetRecoveryTimeName")>]
[<DisplayDescriptionKeyAttribute("Database_TargetRecoveryTimeDesc")>]
abstract TargetRecoveryTime : int with get, set
function get TargetRecoveryTime () : int
function set TargetRecoveryTime (value : int)
Property Value
Type: System.Int32
The database for the target recovery time.