共用方式為


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 命名空間