Gets or sets the mark name to be used in conjunction with the date specified by StopBeforeMarkAfterDate to determine the stopping point of the recovery operation.
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Specifies recovery to the first mark matching the name specified inthat occurs before the specified time. Recovery does not include the transaction that contains the mark. If the value is not set, recovery stops at the first mark with the specified name.
The following code example sets a transaction mark name before which the restore operation halts.
Dim rs As Restore rs = New Restore rs.StopBeforeMarkName = "TransactionMark"
$rs = new-object Microsoft.SqlServer.Management.Smo.Restore $rs.StopBeforeMarkName = "TransactionMark"