ConfigurationSet.FindAdamInstance 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.
Overloads
FindAdamInstance() |
Finds an AD LDS instance in this configuration set. |
FindAdamInstance(String) |
Finds an AD LDS instance in this configuration set for a given partition name. |
FindAdamInstance(String, String) |
Finds an AD LDS instance in this configuration set for a given partition name and site name. |
FindAdamInstance()
- Source:
- ConfigSet.cs
- Source:
- ConfigSet.cs
- Source:
- ConfigSet.cs
- Source:
- ConfigSet.cs
Finds an AD LDS instance in this configuration set.
public:
System::DirectoryServices::ActiveDirectory::AdamInstance ^ FindAdamInstance();
public System.DirectoryServices.ActiveDirectory.AdamInstance FindAdamInstance ();
member this.FindAdamInstance : unit -> System.DirectoryServices.ActiveDirectory.AdamInstance
Public Function FindAdamInstance () As AdamInstance
Returns
An AdamInstance object that represents an AD LDS instance that was found.
Exceptions
The object has been disposed.
An AD LDS instance could be not found in this configuration set.
See also
Applies to
FindAdamInstance(String)
- Source:
- ConfigSet.cs
- Source:
- ConfigSet.cs
- Source:
- ConfigSet.cs
- Source:
- ConfigSet.cs
Finds an AD LDS instance in this configuration set for a given partition name.
public:
System::DirectoryServices::ActiveDirectory::AdamInstance ^ FindAdamInstance(System::String ^ partitionName);
public System.DirectoryServices.ActiveDirectory.AdamInstance FindAdamInstance (string partitionName);
member this.FindAdamInstance : string -> System.DirectoryServices.ActiveDirectory.AdamInstance
Public Function FindAdamInstance (partitionName As String) As AdamInstance
Parameters
Returns
An AdamInstance object that represents an AD LDS instance that was found.
Exceptions
partitionName
is null
.
The object has been disposed.
An AD LDS instance for the specified partitionName
could not be found in this configuration set.
See also
Applies to
FindAdamInstance(String, String)
- Source:
- ConfigSet.cs
- Source:
- ConfigSet.cs
- Source:
- ConfigSet.cs
- Source:
- ConfigSet.cs
Finds an AD LDS instance in this configuration set for a given partition name and site name.
public:
System::DirectoryServices::ActiveDirectory::AdamInstance ^ FindAdamInstance(System::String ^ partitionName, System::String ^ siteName);
public System.DirectoryServices.ActiveDirectory.AdamInstance FindAdamInstance (string? partitionName, string siteName);
public System.DirectoryServices.ActiveDirectory.AdamInstance FindAdamInstance (string partitionName, string siteName);
member this.FindAdamInstance : string * string -> System.DirectoryServices.ActiveDirectory.AdamInstance
Public Function FindAdamInstance (partitionName As String, siteName As String) As AdamInstance
Parameters
Returns
An AdamInstance object that represents an AD LDS instance that was found.
Exceptions
siteName
is null
.
The object has been disposed.
An AD LDS instance for the specified partitionName
and siteName
parameters could not be found in this configuration set.