Partager via


ContentLocationADSite.DiscoverADSite Method ()

 

Attempts to automatically discover a domain controller and sets the ADSiteName property.

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

Syntax

public bool DiscoverADSite()
public:
bool DiscoverADSite()
Public Function DiscoverADSite As Boolean

Return Value

Type: System.Boolean

True if a domain controller was found; otherwise, false.

See Also

ContentLocationADSite Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top