ApplicationPartition.FindAllDiscoverableDirectoryServers 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.
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
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기