Perforce API for the .Net CLR P4.Net

P4Connection.Disconnect Method 

Disconnect from the Perforce Server

[Visual Basic]
Public Sub Disconnect()
[C#]
public void Disconnect();

See Also

P4Connection Class | P4API Namespace