ConfigurationSet.FindAllAdamInstances 方法

定义

重载

FindAllAdamInstances(String)

针对给定分区名称,在此配置集内返回所有 AD LDS 实例。Returns all AD LDS instances in this configuration set for a given partition name.

FindAllAdamInstances(String, String)

返回此配置集中针对给定分区名和站点名的所有 AD LDS 实例。Returns all AD LDS instances in this configuration set for a given partition name and site name.

FindAllAdamInstances()

返回此配置集中的所有 AD LDS 实例。Returns all AD LDS instances in this configuration set.

FindAllAdamInstances(String)

针对给定分区名称,在此配置集内返回所有 AD LDS 实例。Returns all AD LDS instances in this configuration set for a given partition name.

public:
 System::DirectoryServices::ActiveDirectory::AdamInstanceCollection ^ FindAllAdamInstances(System::String ^ partitionName);
public System.DirectoryServices.ActiveDirectory.AdamInstanceCollection FindAllAdamInstances (string partitionName);
member this.FindAllAdamInstances : string -> System.DirectoryServices.ActiveDirectory.AdamInstanceCollection
Public Function FindAllAdamInstances (partitionName As String) As AdamInstanceCollection

参数

partitionName
String

指定要搜索的分区的 StringA String that specifies a partition in which to search.

返回

一个 AdamInstanceCollection 对象,它包含找到的 AdamInstance 对象。An AdamInstanceCollection object that contains the AdamInstance objects that were found.

异常

partitionNamenullpartitionName is null.

已释放此对象。The object has been disposed.

另请参阅

FindAllAdamInstances(String, String)

返回此配置集中针对给定分区名和站点名的所有 AD LDS 实例。Returns all AD LDS instances in this configuration set for a given partition name and site name.

public:
 System::DirectoryServices::ActiveDirectory::AdamInstanceCollection ^ FindAllAdamInstances(System::String ^ partitionName, System::String ^ siteName);
public System.DirectoryServices.ActiveDirectory.AdamInstanceCollection FindAllAdamInstances (string partitionName, string siteName);
member this.FindAllAdamInstances : string * string -> System.DirectoryServices.ActiveDirectory.AdamInstanceCollection
Public Function FindAllAdamInstances (partitionName As String, siteName As String) As AdamInstanceCollection

参数

partitionName
String

指定要搜索的分区的 StringA String that specifies a partition in which to search.

siteName
String

指定要搜索的分区的 StringA String that specifies a partition in which to search.

返回

一个 AdamInstanceCollection 对象,它包含找到的 AdamInstance 对象。An AdamInstanceCollection object that contains the AdamInstance objects that are found.

异常

siteNamenullsiteName is null.

已释放此对象。The object has been disposed.

另请参阅

FindAllAdamInstances()

返回此配置集中的所有 AD LDS 实例。Returns all AD LDS instances in this configuration set.

public:
 System::DirectoryServices::ActiveDirectory::AdamInstanceCollection ^ FindAllAdamInstances();
public System.DirectoryServices.ActiveDirectory.AdamInstanceCollection FindAllAdamInstances ();
member this.FindAllAdamInstances : unit -> System.DirectoryServices.ActiveDirectory.AdamInstanceCollection
Public Function FindAllAdamInstances () As AdamInstanceCollection

返回

一个 AdamInstanceCollection 对象,它包含找到的 AdamInstance 对象。An AdamInstanceCollection object that contains the AdamInstance objects that were found.

异常

已释放此对象。The object has been disposed.

另请参阅

适用于