Condividi tramite


DirectoryEntry.Properties Proprietà

Definizione

Ottiene le proprietà di Servizi di dominio Active Directory per questo DirectoryEntry oggetto.

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

Valore della proprietà

Oggetto PropertyCollection che contiene le proprietà impostate in questa voce.

Attributi

Commenti

Se la proprietà non viene inizializzata, Properties chiama il metodo IADs::Get dell'interfaccia ADSI per recuperare il valore dalla cache. Se la cache sottostante non è stata caricata, IADs::Get chiama in modo implicito IADs::GetInfo. Questo metodo carica i valori delle proprietà supportate che non sono state impostate nella cache dall'archivio directory sottostante. Le chiamate successive a Properties recuperano solo i valori delle proprietà nella cache. Per controllare il caricamento della cache delle proprietà, chiamare RefreshCache.

Nota La Properties proprietà non è supportata per l'uso con l'estensione client di Active Directory (DSClient) per Windows NT 4.0.

Si applica a

Vedi anche