次の方法で共有


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 オブジェクトの値です。