AdamInstance.FindAll(DirectoryContext, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds all AD LDS instances in the specified context that host the specified partition.
public:
static System::DirectoryServices::ActiveDirectory::AdamInstanceCollection ^ FindAll(System::DirectoryServices::ActiveDirectory::DirectoryContext ^ context, System::String ^ partitionName);
public static System.DirectoryServices.ActiveDirectory.AdamInstanceCollection FindAll (System.DirectoryServices.ActiveDirectory.DirectoryContext context, string partitionName);
static member FindAll : System.DirectoryServices.ActiveDirectory.DirectoryContext * string -> System.DirectoryServices.ActiveDirectory.AdamInstanceCollection
Public Shared Function FindAll (context As DirectoryContext, partitionName As String) As AdamInstanceCollection
Parameters
- context
- DirectoryContext
A DirectoryContext object that contains the target and credentials to use for the search. The target of this context must be an AD LDS configuration set.
- partitionName
- String
A String that contains the name of the partition to search for AD LDS instances.
Returns
A AdamInstanceCollection that contains the AD LDS instances that are found by the search.
Exceptions
The context
or partitionName
parameter is not valid.
The context
or partitionName
parameter is null
.
No AD LDS instance was found.
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin