The Connection type exposes the following members.

Methods

  Name Description
Public method CancelCommand(UInt32)
Cancel a running command
Public method CancelCommand(P4Command)
Cancel a running command
Public method Connect
Public method CreateCommand
Create a P4Command that can be run on the connection
Public method Disconnect()()()()
Public method Disconnect(Options)
Public method Dispose
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetActiveTicket
Returns the ticket used by the current connection
Public method GetExistingTicket
Get the existing ticket if any for a user on the secified server
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetMapApi
Create a P4.P4MapApi object to be used on the current server connection
Public method GetP4ConfigFile()()()()
The config file used by the connection (if any)
Public method GetP4ConfigFile(String)
The config file that will be used by a given directory (if any)
Public method GetP4EnvironmentVar
Get the value of an P4 environment variable
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IsFileIgnored
Is this file ignored based on the file specified by p4ignore (if any)
Public method Login(String)
Automate the Login to the Perforce Server
Public method Login(String, Options)
Login to the Perforce Server
Public method Login(String, Boolean)
Public method Login(String, Options, String)
Run a Login on the Perforce Server
Public method Logout
Logout of the Perforce server
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ReleaseConnection
Release the connection held by the bridge to the server. This will cause the bridge to call init before the next command is run, forcing it to reinitialize any cached connection settings.
Public method SetClient
Public method SetP4EnvironmentVar
Set the value of an P4 environment variable
Public method SetPassword(String, String)
Set the current user's password on the Perforce server.
Public method SetPassword(String, String, String)
Set the a user's password on the Perforce server.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method Trust
Run the client side command trust
Public method TrustAndConnect

See Also