共用方式為


IDatabaseOptions.TargetRecoveryTime 屬性

Gets or sets the target recovery time.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("Database_TargetRecoveryTimeDesc")> _
<DisplayNameKeyAttribute("Database_TargetRecoveryTimeName")> _
Property TargetRecoveryTime As Integer 
    Get 
    Set
'用途
Dim instance As IDatabaseOptions 
Dim value As Integer 

value = instance.TargetRecoveryTime

instance.TargetRecoveryTime = value
[DisplayDescriptionKeyAttribute("Database_TargetRecoveryTimeDesc")]
[DisplayNameKeyAttribute("Database_TargetRecoveryTimeName")]
int TargetRecoveryTime { get; set; }
[DisplayDescriptionKeyAttribute(L"Database_TargetRecoveryTimeDesc")]
[DisplayNameKeyAttribute(L"Database_TargetRecoveryTimeName")]
property int TargetRecoveryTime {
    int get ();
    void set (int value);
}
[<DisplayDescriptionKeyAttribute("Database_TargetRecoveryTimeDesc")>]
[<DisplayNameKeyAttribute("Database_TargetRecoveryTimeName")>]
abstract TargetRecoveryTime : int with get, set
function get TargetRecoveryTime () : int 
function set TargetRecoveryTime (value : int)

屬性值

型別:System.Int32
The target recovery time.

請參閱

參考

IDatabaseOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間