HostDisconnectDrive 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.NetworkAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void DisconnectDrive(
string localName
)
Public Shared Sub DisconnectDrive (
localName As String
)
public:
static void DisconnectDrive(
String^ localName
)
static member DisconnectDrive :
localName : string -> unit
Parameters
- localName
- Type: SystemString
The name of a local device to be disconnected, such as "F:".
See Also