Partager via


Exchange Store Consistency Check Reference (CHKSGFILES)

The CHKSGFILES DLL enables backup and restore applications to verify the integrity of MicrosoftExchange Server 2003, Exchange Server 2007, and Exchange Server 2010 transaction log files and databases programmatically. This API can verify individual databases obtained from Exchange 2003, Exchange 2007, and Exchange 2010. This API can also verify storage groups obtained from Exchange 2003 and Exchange 2007. Note that storage groups are not part of Exchange 2010. This API is designed to be used as part of backup and restore applications that use the Volume Shadow Copy Service (VSS).

Files Location

The CHKSGFILES API ships as part of Exchange 2010. You can use this API on a computer that has the Mailbox server role installed, or a computer that has the Administrator-only server role installed.

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

Only a 64-bit (amd64) version of the CHKSGFILES API is included in Exchange 2010. If your applications will be running on a Mailbox server, use the 64-bit version. Do not try to use a 32-bit version of Exchange 2010 on a 64-bit operating system.

Important

The Exchange 2010 Beta Backup and Restore SDK, published in June 2009, is not available for download. To obtain the .lib file, download the Exchange Server 2010 Beta CHKSGFILES Library from the Microsoft Download Center.

To compile an application to use the CHKSGFILES API, use the .lib files that are provided with the Exchange 2010 Backup and Restore SDK. Those files are installed in the C:\Program Files\Microsoft\Exchange Server 2010 SDK\RTM\Support\CHKSGFILES\Lib directory by default.

Development Languages

The CHKSGFILES API is intended for use with MicrosoftVisual Studio 2005 or later versions in native C/C++. The CHKSGFILES API is not intended for use in managed code. Although you can create a COM Interop assembly with CHKSGFILES, we do not ship a supported COM Interop assembly with Exchange 2010.