在.net中使用DirectorySearcher的FindAll()方法時,SearchResultCollection的GetDirectoryEntry()方法是否需要再次訪問Active Directory?例如......SearchResultCollection的GetDirectoryEntry是否必須再次查詢ActiveDirectory? [DirectoryServices/.net]
Dim src As SearchResultCollection
Dim ds As New DirectorySearcher
' code to setup DirectorySearcher
' go to Active Directory and fill collection with results
src = ds.FindAll()
'...later on in code or whatever
' does the next line of code require another trip to Active Directory?
Dim de As DirectoryEntry = src.item(0).GetDirectoryEntry()