RasConnection.HangUp Method (Boolean)

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
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(
	bool closeAllReferences
)
Visual Basic
Public Sub HangUp ( 
	closeAllReferences As Boolean
)
Visual C++
public:
void HangUp(
	bool closeAllReferences
)
F#
member HangUp : 
        closeAllReferences : bool -> unit 

Parameters

closeAllReferences
Type: System..::..Boolean
true to disconnect all connection references, otherwise false.

See Also