HostGetShareInfo Method (String, String, Boolean) |
Retrieves information about the Server Message Block (SMB) share as defined on the specified host.
Namespace:
Alphaleonis.Win32.Network
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static ShareInfo GetShareInfo(
string host,
string share,
bool continueOnException
)
Public Shared Function GetShareInfo (
host As String,
share As String,
continueOnException As Boolean
) As ShareInfo
public:
static ShareInfo^ GetShareInfo(
String^ host,
String^ share,
bool continueOnException
)
static member GetShareInfo :
host : string *
share : string *
continueOnException : bool -> ShareInfo
Parameters
- host
- Type: SystemString
The DNS or NetBIOS name of the specified host. - share
- Type: SystemString
The name of the Server Message Block (SMB) share. - continueOnException
- Type: SystemBoolean
to suppress any Exception that might be thrown as a result from a failure, such as unavailable resources.
Return Value
Type:
ShareInfoA
ShareInfo class, or
on failure or when not available, and
continueOnException is
.
See Also