Restore.StopAtMarkName 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.SmoExtended(Microsoft.SqlServer.SmoExtended.dll)

구문

‘선언
Public Property StopAtMarkName As String 
    Get 
    Set
‘사용 방법
Dim instance As Restore 
Dim value As String 

value = instance.StopAtMarkName

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

속성 값

유형: System.String
A String that specifies the mark name.

주의

Specifies recovery to the first mark matching the name specified in StopAtMarkName that occurs exactly at or after the specified time. Recovery includes the transaction that contains the mark. If the StopAtMarkAfterDate value is not set, recovery stops at the first mark with the specified name.

The following code example sets a transaction mark name at which the restore operation halts.

VB

Dim rs As Restore
rs = New Restore
rs.StopAtMarkName = "ListPriceUpdate"

PowerShell

$rs = new-object Microsoft.SqlServer.Management.Smo.Restore
$rs.StopAtMarkName = "ListPriceUpdate"

참고 항목

참조

Restore 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

RESTORE(Transact-SQL)

SQL Server 데이터베이스 백업 및 복원