Click or drag to resize

HostEnumerateDfsRoot Method (String, Boolean)

Enumerates the DFS namespaces from a host.

Namespace:  Alphaleonis.Win32.Network
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public static IEnumerable<string> EnumerateDfsRoot(
	string host,
	bool continueOnException
)

Parameters

host
Type: SystemString
The DNS or NetBIOS name of a host.
continueOnException
Type: SystemBoolean
suppress any Exception that might be thrown as a result from a failure, such as unavailable resources.

Return Value

Type: IEnumerableString
IEnumerableT of DFS Root namespaces from a host.
Exceptions
ExceptionCondition
NetworkInformationException
PlatformNotSupportedExceptionThe operating system is older than Windows Vista.
See Also