CloseAccessor Method

Closes a previously created UrlAccessor object.

HRESULT CloseAccessor(
IUrlAccessor* pAccessor
);

Parameters

pAccessor

[in] Pointer to the UrlAccessor object that was used to process the current URL item.

Return Value

If successful, returns S_OK, otherwise it returns an error value. For a list of error messages returned by Enterprise Search in Microsoft Office SharePoint Server 2007, see Protocol Handler Error Messages.

Remarks

The Filter Daemon releases the pAccessor pointer passed to this method when this method returns. Use this method to release any resources associated with the UrlAccessor object, freeing it for reuse by the protocol handler.

If you are implementing a pool of UrlAccessor objects, you must use the AddRef method to add a UrlAccessor to your pool.

See Also

Concepts

Protocol Handler Reference
Protocol Handler Interfaces
IUrlAccessor Interface
Enterprise Search Protocol Handlers

Other Resources

IUnknown Interface