CChkSGFiles class reference

Find reference information for the CHKSGFILES API in Exchange 2013.

Applies to: Exchange Server 2013

The CHKSGFILES API enables backup and restore applications to verify the integrity of Exchange Server 2013 transaction log files and databases programmatically. You can use this API in backup and restore applications that use the Volume Shadow Copy Service (VSS).


Storage groups are not available in Exchange 2013. Support for storage groups was removed from versions of Exchange starting with Exchange Server 2010. For backward compatibility with databases and storage groups in versions of Exchange earlier than Exchange 2010, the CHKSGFILES API enables you to specify storage groups. When you run CHKSGFILES against Exchange 2013 databases, you should set parameters that specify a storage group identifier to an empty string.

File location

The CHKSGFILES API ships as part of Exchange 2013. You can use this API on a computer that has the Mailbox server role installed.

By default, the CHKSGFILES DLL is installed in the C:\Program Files\Microsoft\Exchange\V15\Bin directory.

Exchange 2013 includes only a 64-bit (amd64) version of the CHKSGFILES API.

You can download a .zip file that includes the CHKSGFILE.lib library and CHKSGFILES.hxx header files for use in your custom application from the Microsoft Download Center.

Development languages

The CHKSGFILES API is intended for use with versions of Visual Studio starting with Visual Studio 2005 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 2013.

In this section

See also