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
)
매개 변수
- srv
유형: Microsoft.SqlServer.Management.Smo.Server
The instance of SQL Server that is targeted by the restore operation.
예
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)
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스