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

定義

將這個 DirectoryEntry 物件的屬性值載入屬性快取。Loads the property values for this DirectoryEntry object into the property cache.

多載

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

將這個 DirectoryEntry 物件的屬性值載入屬性快取。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()

將這個 DirectoryEntry 物件的屬性值載入屬性快取。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 ()

備註

警告

對屬性快取的任何未認可變更都會遺失。Any uncommitted changes to the property cache will be lost. CommitChanges使用方法來保存目錄存放區的變更。Use the CommitChanges method to persist changes to the directory store.

安全性

DirectoryServicesPermission
以重新整理屬性快取。To refresh the property cache.

另請參閱

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())

參數

propertyNames
String[]

指定之屬性的陣列。An array of the specified properties.

備註

警告

對屬性快取的任何未認可變更都會遺失。Any uncommitted changes to the property cache will be lost. 使用CommitChanges來保存目錄存放區的變更。Use CommitChanges to persist changes to the directory store.

安全性

DirectoryServicesPermission
以重新整理屬性快取。To refresh the property cache.

另請參閱

適用於