HostEnumerateDomainDfsRoot Method (String, Boolean) |
Enumerates the DFS namespaces from a domain.
Namespace: Alphaleonis.Win32.NetworkAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static IEnumerable<string> EnumerateDomainDfsRoot(
string domain,
bool continueOnException
)
Public Shared Function EnumerateDomainDfsRoot (
domain As String,
continueOnException As Boolean
) As IEnumerable(Of String)
public:
static IEnumerable<String^>^ EnumerateDomainDfsRoot(
String^ domain,
bool continueOnException
)
static member EnumerateDomainDfsRoot :
domain : string *
continueOnException : bool -> IEnumerable<string>
Parameters
- domain
- Type: SystemString
A domain name. - 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 domain.
Exceptions See Also