DirectoryEntry.Properties 属性

定义

获取此 DirectoryEntry 对象的 Active Directory 域服务属性。

public:
 property System::DirectoryServices::PropertyCollection ^ Properties { System::DirectoryServices::PropertyCollection ^ get(); };
public System.DirectoryServices.PropertyCollection Properties { get; }
[System.ComponentModel.Browsable(false)]
[System.DirectoryServices.DSDescription("DSProperties")]
public System.DirectoryServices.PropertyCollection Properties { get; }
member this.Properties : System.DirectoryServices.PropertyCollection
[<System.ComponentModel.Browsable(false)>]
[<System.DirectoryServices.DSDescription("DSProperties")>]
member this.Properties : System.DirectoryServices.PropertyCollection
Public ReadOnly Property Properties As PropertyCollection

属性值

一个 PropertyCollection 对象,包含此项所设属性。

属性

注解

如果未初始化 属性, Properties 请调用 ADSI 接口 IADs::Get 方法从缓存中检索值。 如果尚未加载下层缓存, IADs::Get 隐式调用 IADs::GetInfo。 此方法从基础目录存储加载尚未在缓存中设置的受支持属性的值。 对 的 Properties 后续调用仅检索缓存中的属性值。 若要控制属性缓存加载,请调用 RefreshCache

注意Properties不支持将 属性与适用于 Windows NT 4.0 的 Active Directory 客户端扩展 (DSClient) 一起使用。

适用于

另请参阅