DirectorySearcher.PropertiesToLoad プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
検索中に取得するプロパティの一覧を示す値を取得します。
public:
property System::Collections::Specialized::StringCollection ^ PropertiesToLoad { System::Collections::Specialized::StringCollection ^ get(); };
public System.Collections.Specialized.StringCollection PropertiesToLoad { get; }
[System.DirectoryServices.DSDescription("DSPropertiesToLoad")]
public System.Collections.Specialized.StringCollection PropertiesToLoad { get; }
member this.PropertiesToLoad : System.Collections.Specialized.StringCollection
[<System.DirectoryServices.DSDescription("DSPropertiesToLoad")>]
member this.PropertiesToLoad : System.Collections.Specialized.StringCollection
Public ReadOnly Property PropertiesToLoad As StringCollection
プロパティ値
検索中に取得するプロパティのセットを含む StringCollection オブジェクト。
既定値は、すべてのプロパティを取得する空の StringCollectionです。
- 属性
注釈
特定のプロパティを取得するには、検索を開始する前に、これらのプロパティをこのコレクションに追加します。 たとえば、 searcher.PropertiesToLoad.Add("phone"); は、検索で取得するプロパティの一覧に電話プロパティを追加します。
プロパティ "ADsPath" は、常に検索中に取得されます。 Windows 2000 以前のオペレーティング システムでは、ntSecurityDescriptor プロパティを取得するには、検索を実行するアカウントが Administrators グループのメンバーである必要があります。 そうでない場合は、ntSecurityDescriptor に対して返されるプロパティ値が nullされます。 詳細については、 NT セキュリティ記述子 に関する記事を参照してください。