CheckCatalog Method

SQLServer.Database Object

Description

Checks the consistency of system tables and relationships between system tables for this database.

Visual Basic

strOutput = Database.CheckCatalog

C++

HRESULT pDatabase->CheckCatalog ( SQLOLE_LPBSTR pstrOutput );

Elements

Element Type Description

strOutput String The output returned by the internal consistency check

Reference

DBCC CHECKCATALOG