DirectoryEntryConfiguration.GetCurrentServerName Method ()

 

Gets the host name of the server for the current binding to this directory object.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public string GetCurrentServerName()

Return Value

Type: System.String

The name of the server.

.NET Framework
Available since 2.0
Return to top
Show: