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속성입니다.

특성

설명

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

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

적용 대상

추가 정보