Share via


Exchange Store Consistency Check Reference (CHKSGFILES)

Topic Last Modified: 2007-11-09

The CHKSGFILES Library enables backup and restore applications to programmatically verify the integrity of Microsoft Exchange Server 2003 and Exchange Server 2007 transaction log files and databases. This API can verify individual databases and whole storage groups. This API is designed to be used as part of backup and restore applications that use the Volume Shadowcopy Service.

Files Location

The CHKSGFILES API ships as part of Exchange Server 2007. The API can be used on a computer that is under the Mailbox role, or a computer that has the Administrator-only install.

By default the CHKSGFILES DLL is installed in the C:\Program Files\Exchange 2007\bin directory.

Both 32-bit (i386) and 64-bit (amd64) versions of the API are included. If your applications will be running on a Mailbox server, use the 64-bit version. If your applications will be running under Microsoft Windows XP, or on a computer where the Exchange Administrative tools have been installed, use the 32-bit version of the API. Do not use the 32-bit version on a 64-bit operating system.

To properly compile an application to use the CHKSGFILES API, use the LIB files provided with the Exchange Server 2007 SDK. Those files are installed in the folder C:\Program Files\Microsoft\Exchange Server 2007 SDK\RTM\Support\CHKSGFILES\Lib by default.

Development Languages

The CHKSGFILES API is intended for use with Microsoft Visual Studio 2005 or later in native C/C++. The CHKSGFILES API is not intended for use in managed code, though a COM Interop assembly can be created. However, Microsoft does not ship an officially-supported COM Interop assembly.