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-Security-Descriptor 문서를 참조하세요.