Редагувати

Поділитися через


ApplicationPartition.FindAllDiscoverableDirectoryServers Method

Definition

Retrieves the directory servers that have registered either a site-specific DNS record for the current site or a non-site-specific DNS record for the application partition.

Overloads

FindAllDiscoverableDirectoryServers(String)

Returns a ReadOnlyDirectoryServerCollection object that contains all of the directory servers that have registered a site-specific DNS record, for the specified site, for the application partition.

FindAllDiscoverableDirectoryServers()

Returns a ReadOnlyDirectoryServerCollection object that contains all of the directory servers that have registered either a site-specific DNS record for the current site or a non-site-specific DNS record for the application partition.

FindAllDiscoverableDirectoryServers(String)

Source:
ApplicationPartition.cs
Source:
ApplicationPartition.cs
Source:
ApplicationPartition.cs
Source:
ApplicationPartition.cs

Returns a ReadOnlyDirectoryServerCollection object that contains all of the directory servers that have registered a site-specific DNS record, for the specified site, for the application partition.

public:
 System::DirectoryServices::ActiveDirectory::ReadOnlyDirectoryServerCollection ^ FindAllDiscoverableDirectoryServers(System::String ^ siteName);
public System.DirectoryServices.ActiveDirectory.ReadOnlyDirectoryServerCollection FindAllDiscoverableDirectoryServers (string siteName);
member this.FindAllDiscoverableDirectoryServers : string -> System.DirectoryServices.ActiveDirectory.ReadOnlyDirectoryServerCollection
Public Function FindAllDiscoverableDirectoryServers (siteName As String) As ReadOnlyDirectoryServerCollection

Parameters

siteName
String

A String that specifies the name of the site to search.

Returns

A ReadOnlyDirectoryServerCollection object that contains the directory servers that are found.

Exceptions

siteName is an empty string.

siteName is null.

The ApplicationPartition object has not yet been committed to the underlying directory store.

The application partition is an AD LDS application partition.

The object has been disposed.

See also

Applies to

FindAllDiscoverableDirectoryServers()

Source:
ApplicationPartition.cs
Source:
ApplicationPartition.cs
Source:
ApplicationPartition.cs
Source:
ApplicationPartition.cs

Returns a ReadOnlyDirectoryServerCollection object that contains all of the directory servers that have registered either a site-specific DNS record for the current site or a non-site-specific DNS record for the application partition.

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

Returns

A ReadOnlyDirectoryServerCollection object that contains the directory servers that were found.

Exceptions

The ApplicationPartition object has not yet been committed to the underlying directory store.

The application partition is an AD LDS application partition.

The object has been disposed.

See also

Applies to