다음을 통해 공유


CheckTables 메서드 (RepairType, RepairStructure)

데이터베이스의 모든 테이블 및 테이블에 정의된 모든 인덱스에 대해 데이터베이스 페이지의 무결성을 테스트합니다.

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

구문

‘선언
Public Function CheckTables ( _
    repairType As RepairType, _
    repairStructure As RepairStructure _
) As StringCollection
‘사용 방법
Dim instance As Database
Dim repairType As RepairType
Dim repairStructure As RepairStructure
Dim returnValue As StringCollection

returnValue = instance.CheckTables(repairType, _
    repairStructure)
public StringCollection CheckTables(
    RepairType repairType,
    RepairStructure repairStructure
)
public:
StringCollection^ CheckTables(
    RepairType repairType, 
    RepairStructure repairStructure
)
member CheckTables : 
        repairType:RepairType * 
        repairStructure:RepairStructure -> StringCollection 
public function CheckTables(
    repairType : RepairType, 
    repairStructure : RepairStructure
) : StringCollection

매개 변수

반환 값

유형: System.Collections.Specialized. . :: . .StringCollection
데이터베이스의 테이블 및 인덱스 무결성에 대한 보고서를 포함하는 StringCollection 개체 값입니다.