IDatabaseMaintenanceFacet.TargetRecoveryTime 属性

Gets or sets the database for the target recovery time.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayNameKeyAttribute("Database_TargetRecoveryTimeName")> _
<DisplayDescriptionKeyAttribute("Database_TargetRecoveryTimeDesc")> _
Property TargetRecoveryTime As Integer 
    Get 
    Set
用法
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)

属性值

类型:System.Int32
The database for the target recovery time.

请参阅

参考

IDatabaseMaintenanceFacet 接口

Microsoft.SqlServer.Management.Smo 命名空间