다음을 통해 공유


New Function (CHKSGFILES)

Topic Last Modified: 2007-10-03

The New function creates a new object instance of the CChkSGFiles class. This function must be called before the application can specify the storage group and databases to be checked.

Syntax

Static CCheckSGFiles * __stdcall New ();

Parameters

This function does not accept any parameters.

Return Value

This function returns a reference (pointer) to the newly created object.

Remarks

The New() function creates a CCheckSGFiles object and returns a reference (pointer) to that object to the caller. The application must call this function before it calls any of the other functions in the class.

Requirements

When you are calling this API on a computer on which the Microsoft Exchange Server 2007 Administrative Tools role is installed on Microsoft Windows XP, use the 32-bit version of this API.

When you are calling this API on a computer on which Exchange 2007 is installed on a 64-bit version of Windows, use the 64-bit version of this API.

The account that the application is running under must have read access permissions to the database and log files that are to be checked.