IExcelClient::Dispose method

Releases all of the resources that the object allocated.

Syntax

HRESULT Dispose();
Function Dispose() As HRESULT

Parameters

This method has no parameters.

Return value

C++

Returns S_OK unless an exception occurs.

Remarks

This method does not close or release resources for open instances of Excel.

If you do not call the IExcelClient::Dispose method for an instance of the IExcelClient interface that you create, the Excel process can continue to exist after you exit Excel.

Requirements

Product

HPC Pack 2008 R2 Client Utilities

Header

Httpserv.h

Type library

Microsoft.Hpc.Excel.tlb

See also

IExcelClient