Share via


IsDirectory Method

Determines if the URL points to a directory.

HRESULT IsDirectory();

Parameters

None.

Return Value

If the URL is a directory, returns S_OK; otherwise, returns S_FALSE.

Remarks

This method is used by protocol handlers that access hierarchical content sources. Determining if the item URL points to a directory is important because the Enterprise Search crawler does not crawl directories.

See Also

Concepts

Protocol Handler Reference
IUrlAccessor Interface
Enterprise Search Protocol Handlers