[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Attempts to automatically discover a domain controller and sets the Name property

Namespace:  Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
bool 
DiscoverADSite()
Public 
Function 
DiscoverADSite 
As 
Boolean
public:
bool 
DiscoverADSite()

Return Value

True if a DC was found, false otherwise

See Also