DirectoryEntry.RefreshCache Method (String[])

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public void RefreshCache(
	string[] propertyNames
)

Parameters

propertyNames
Type: 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: