Restore.ClearSuspectPageTableAfterRestore 속성

Gets or sets a Boolean value that determines whether entries in the suspect page table will be deleted following the restore operation.

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

구문

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

value = instance.ClearSuspectPageTableAfterRestore

instance.ClearSuspectPageTableAfterRestore = value
public bool ClearSuspectPageTableAfterRestore { get; set; }
public:
property bool ClearSuspectPageTableAfterRestore {
    bool get ();
    void set (bool value);
}
member ClearSuspectPageTableAfterRestore : bool with get, set
function get ClearSuspectPageTableAfterRestore () : boolean 
function set ClearSuspectPageTableAfterRestore (value : boolean)

속성 값

유형: System.Boolean
A Boolean value that indicates whether the suspect page table will be cleared.If True, the suspect page table is cleared following the restore operation. Otherwise, False (default).

The following code example shows how to set the suspect page table to be cleared after the restore operation is complete.

VB

Dim rs As Restore
rs = New Restore
rs.ClearSuspectPageTableAfterRestore = true

PowerShell

$rs = new-object Microsoft.SqlServer.Management.Smo.Restore
$rs.ClearSuspectPageTableAfterRestore = $TRUE

참고 항목

참조

Restore 클래스

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

관련 자료

RESTORE(Transact-SQL)

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