次の方法で共有


CheckTables メソッド (RepairType)

データベースのすべてのテーブルと、テーブルで定義されたすべてのインデックスの、データベース ページの整合性をテストします。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Function CheckTables ( _
    repairType As RepairType _
) As StringCollection
'使用
Dim instance As Database
Dim repairType As RepairType
Dim returnValue As StringCollection

returnValue = instance.CheckTables(repairType)
public StringCollection CheckTables(
    RepairType repairType
)
public:
StringCollection^ CheckTables(
    RepairType repairType
)
member CheckTables : 
        repairType:RepairType -> StringCollection 
public function CheckTables(
    repairType : RepairType
) : StringCollection

パラメーター

戻り値

型: System.Collections.Specialized. . :: . .StringCollection
データベース内のテーブルとインデックスの整合性に関するレポートを含む StringCollection オブジェクトです。