Directory Services

IDsBrowseDomainTree::FlushCachedDomains

The IDsBrowseDomainTree::FlushCachedDomains method frees the cached domain list.

HRESULT FlushCachedDomains();

Parameters

This method has no parameters.

Return Values

Returns a standard HRESULT value including the following.
S_OK
The method was successful.

Remarks

This method frees the internal cached domain data. This method must be called before calling IDsBrowseDomainTree::SetComputer to retarget to a computer of a different domain.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Header: Declared in Dsclient.h.

See Also

IDsBrowseDomainTree::SetComputer, IDsBrowseDomainTree