HostDisconnectFrom Method (String) |
Cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected.
Namespace:
Alphaleonis.Win32.Network
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void DisconnectFrom(
string remoteName
)
Public Shared Sub DisconnectFrom (
remoteName As String
)
public:
static void DisconnectFrom(
String^ remoteName
)
static member DisconnectFrom :
remoteName : string -> unit
Parameters
- remoteName
- Type: SystemString
A network resource to disconnect from, for example: \\server or \\server\share.
See Also