HostEnumerateDfsRoot Method (String, Boolean) |
Enumerates the DFS namespaces from a host.
Namespace: Alphaleonis.Win32.NetworkAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static IEnumerable<string> EnumerateDfsRoot(
string host,
bool continueOnException
)
Public Shared Function EnumerateDfsRoot (
host As String,
continueOnException As Boolean
) As IEnumerable(Of String)
public:
static IEnumerable<String^>^ EnumerateDfsRoot(
String^ host,
bool continueOnException
)
static member EnumerateDfsRoot :
host : string *
continueOnException : bool -> IEnumerable<string>
Parameters
- host
- Type: SystemString
The DNS or NetBIOS name of a host. - continueOnException
- Type: SystemBoolean
suppress any Exception that might be thrown a result from a failure, such as unavailable resources.
Return Value
Type:
IEnumerableStringReturns
IEnumerableT of DFS Root namespaces from a host.
Exceptions See Also