Share via


Restore.ClearSuspectPageTable 메서드

Deletes entries in the suspect page table.

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

구문

‘선언
Public Sub ClearSuspectPageTable ( _
    srv As Server _
)
‘사용 방법
Dim instance As Restore 
Dim srv As Server

instance.ClearSuspectPageTable(srv)
public void ClearSuspectPageTable(
    Server srv
)
public:
void ClearSuspectPageTable(
    Server^ srv
)
member ClearSuspectPageTable : 
        srv:Server -> unit
public function ClearSuspectPageTable(
    srv : Server
)

매개 변수

The following code example deletes all entries in the restore suspect page table.

VB

Dim srv As Server
srv = New Server
Dim rs As Restore
rs = New Restore
rs.ClearSuspectPageTable(srv)

PowerShell

$srv = new-object Microsoft.SqlServer.Management.Smo.Server("(local)")
$rs = new-object Microsoft.SqlServer.Management.Smo.Restore
$rs.ClearSuspectPageTable($srv)

참고 항목

참조

Restore 클래스

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

관련 자료

RESTORE(Transact-SQL)

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

suspect_pages 테이블 관리(SQL Server)