Terminates the remote access connection.
Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)
Syntax
C# |
public void HangUp(
int pollingInterval,
bool closeAllReferences
)
|
Visual Basic |
Public Sub HangUp (
pollingInterval As Integer,
closeAllReferences As Boolean
)
|
Visual C++ |
public:
void HangUp(
int pollingInterval,
bool closeAllReferences
)
|
F# |
member HangUp :
pollingInterval : int *
closeAllReferences : bool -> unit
|
Parameters
-
pollingInterval
- Type: System..::..Int32
The length of time, in milliseconds, the thread must be paused while polling whether the connection has terminated.
-
closeAllReferences
- Type: System..::..Boolean
true to disconnect all connection references, otherwise false.
Exceptions
See Also