Disconnect Method  
 

Terminate the dial-up networking connection.

Syntax

object.Disconnect

Parameters

None.

Return Value

A value of zero is returned if the connection was terminated successfully. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

See Also

Connect Method