DirectoryEntry.RefreshCache ()
The RefreshCache method loads the property values for this directory entry into the property cache.
public void RefreshCache();
Public Sub RefreshCache()
Parameters
This method has no parameters.
Return Values
This method has no return values.
Security
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code.
Remarks
Caution Any uncommitted changes to the property cache will be lost. Use CommitChanges to persist changes to the directory store.
Requirements
Client | Requires Windows XP Home Edition, Windows XP Professional, Windows Me, or Windows 98. |
Server | Requires Windows Server 2003, Windows 2000, or Windows NT 4.0. |
Namespace | Defined in System.DirectoryServices. |
Assembly | Requires System.DirectoryServices (in System.DirectoryServices.dll). |
.NET Framework | Requires .NET Framework 1.0. |
See Also
DirectoryEntry.CommitChanges, DirectoryEntry Class, DirectoryEntry Members, System.DirectoryServices Namespace, DirectoryEntry Members (Visual J# Syntax), Managed Extensions for C++ Programming