Delete Function (CHKSGFILES)

Topic Last Modified: 2006-12-01

The Delete() function destroys an existing instance of the CChkSGFiles class. This function must be called when the application has finished working with the object.

Syntax

Static VOID __stdcall Delete
(
        CCheckSGFiles * pcchecksgfiles
);

Parameters

  • pcchecksgfiles
    Input parameter. A pointer to an existing CCheckSGFiles object instance. The memory associated with the instance will be freed.

Return Value

This function does not have a return value.

Remarks

The Delete() function frees the memory associated with the CCheckSGFiles object instance. After calling the Delete() function, the pointer passed in the pcchecksgfiles parameter will be invalid and no other operations can be performed using that object instance.

If the application has used the ErrCheckDbPages() function, the application must free the memory buffer manually; the Delete() function will not free it.

Requirements

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

When calling this API on a computer when Exchange Server 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 to be checked.