Share via


Restore.StopBeforeMarkAfterDate Property

Gets or sets the date to be used in conjunction with the mark name specified by StopBeforeMarkName to determine the stopping point of the recovery operation.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
Public Property StopBeforeMarkAfterDate As String
    Get
    Set
'Usage
Dim instance As Restore
Dim value As String

value = instance.StopBeforeMarkAfterDate

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

Property Value

Type: System.String
A String that specifies the stop before date.

Remarks

Specifies recovery to the first mark matching the name specified in StopBeforeMarkName that occurs before the specified time. Recovery does not include the transaction that contains the mark. If the StopBeforeMarkName value is not set, recovery stops at the first mark with the specified name.