DirectoryEntry.RefreshCache 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将此 DirectoryEntry 对象的属性值加载到属性缓存中。
重载
RefreshCache() |
将此 DirectoryEntry 对象的属性值加载到属性缓存中。 |
RefreshCache(String[]) |
将指定属性的值加载到属性缓存中。 |
RefreshCache()
将此 DirectoryEntry 对象的属性值加载到属性缓存中。
public:
void RefreshCache();
public void RefreshCache ();
member this.RefreshCache : unit -> unit
Public Sub RefreshCache ()
注解
注意
对属性缓存所做的任何未提交的更改都将丢失。 CommitChanges使用此方法保留对目录存储的更改。
另请参阅
适用于
RefreshCache(String[])
将指定属性的值加载到属性缓存中。
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[]
指定属性的数组。
注解
注意
对属性缓存所做的任何未提交的更改都将丢失。 用于 CommitChanges 保留对目录存储的更改。