IDsBrowseDomainTree::FlushCachedDomains method (dsclient.h)

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

Syntax

HRESULT FlushCachedDomains();

Return value

Returns a standard HRESULT value including the following.

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

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header dsclient.h
DLL Dsadmin.dll

See also

IDsBrowseDomainTree

IDsBrowseDomainTree::SetComputer