DirectorySearcher.PropertiesToLoad 속성

정의

검색 과정에서 검색할 속성의 목록을 나타내는 값을 가져옵니다.

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 개체입니다.

기본값은 모든 속성 검색을 나타내는 빈 StringCollection입니다.

특성

설명

특정 속성을 검색하려면 검색을 시작하기 전에 이 컬렉션에 추가합니다. 예를 들어 searcher.PropertiesToLoad.Add("phone"); 검색에서 검색할 속성 목록에 휴대폰 속성을 추가합니다.

"ADsPath" 속성은 검색 중에 항상 검색됩니다. Windows 2000 및 이전 운영 체제에서 검색을 수행하는 계정은 ntSecurityDescriptor 속성을 검색하려면 Administrators 그룹의 구성원이어야 합니다. 그렇지 않은 경우 ntSecurityDescriptor에 대해 반환되는 속성 값은 다음과 같습니다 null. 자세한 내용은 NT-Security-Descriptor 문서를 참조하세요.

적용 대상

추가 정보