StandbyFile 属性

Gets or sets the name of an undo file that is used as part of the imaging strategy for an instance of SQL Server.

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

语法

声明
Public Property StandbyFile As String
    Get
    Set
用法
Dim instance As Restore
Dim value As String

value = instance.StandbyFile

instance.StandbyFile = value
public string StandbyFile { get; set; }
public:
property String^ StandbyFile {
    String^ get ();
    void set (String^ value);
}
member StandbyFile : string with get, set
function get StandbyFile () : String
function set StandbyFile (value : String)

属性值

类型:System. . :: . .String
A String that specifies the name of the undo file.

注释

Database log restoration with undo is available against a read-only image of a SQL Server database and offers one strategy for maintaining a standby image of critical instances.