DirectoryEntry.RefreshCache DirectoryEntry.RefreshCache DirectoryEntry.RefreshCache DirectoryEntry.RefreshCache Method

Definition

Loads the property values for this DirectoryEntry object into the property cache.

Overloads

RefreshCache() RefreshCache() RefreshCache() RefreshCache()

Loads the property values for this DirectoryEntry object into the property cache.

RefreshCache(String[]) RefreshCache(String[]) RefreshCache(String[]) RefreshCache(String[])

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

RefreshCache() RefreshCache() RefreshCache() RefreshCache()

Loads the property values for this DirectoryEntry object into the property cache.

public:
 void RefreshCache();
public void RefreshCache ();
member this.RefreshCache : unit -> unit
Public Sub RefreshCache ()

Remarks

Caution

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

Security

DirectoryServicesPermission
To refresh the property cache.

See also

RefreshCache(String[]) RefreshCache(String[]) RefreshCache(String[]) RefreshCache(String[])

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

public:
 void RefreshCache(cli::array <System::String ^> ^ propertyNames);
public void RefreshCache (string[] propertyNames);
member this.RefreshCache : string[] -> unit
Public Sub RefreshCache (propertyNames As String())

Parameters

propertyNames
String[]

An array of the specified properties.

Remarks

Caution

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

Security

DirectoryServicesPermission
To refresh the property cache.

See also

Applies to