DirectoryEntry::RefreshCache Method (array<String^>^)

 

Loads the values of the specified properties into the property cache.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public:
void RefreshCache(
	array<String^>^ propertyNames
)

Parameters

propertyNames
Type: array<System::String^>^

An array of the specified properties.

System_CAPS_cautionCaution

Any uncommitted changes to the property cache will be lost. Use CommitChanges to persist changes to the directory store.

DirectoryServicesPermission

To refresh the property cache.

.NET Framework
Available since 1.1
Return to top
Show: