ConfigurationSet.FindAllAdamInstances Method (String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns all AD LDS instances in this configuration set for a given partition name and site name.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public AdamInstanceCollection FindAllAdamInstances(
	string partitionName,
	string siteName
)

Parameters

partitionName
Type: System.String

A String that specifies a partition in which to search.

siteName
Type: System.String

A String that specifies a partition in which to search.

Return Value

Type: System.DirectoryServices.ActiveDirectory.AdamInstanceCollection

An AdamInstanceCollection object that contains the AdamInstance objects that are found.

Exception Condition
ArgumentNullException

siteName is null.

ObjectDisposedException

The object has been disposed.

.NET Framework
Available since 2.0
Return to top
Show: