The Connection type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
CancelCommand(UInt32) |
Cancel a running command
|
![]() |
CancelCommand(P4Command) |
Cancel a running command
|
![]() |
Connect |
Connect to the server with the given options
|
![]() |
connectionEstablished |
returns true is the connection has been made
|
![]() |
CreateCommand |
Create a P4Command that can be run on the connection
|
![]() |
Disconnect()()()() |
Disconnect from the server
|
![]() |
Disconnect(Options) |
Disconnect from the server
|
![]() |
Dispose |
Dispose of connection. Forces disconnect
|
![]() |
Equals | (Inherited from Object.) |
![]() |
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.) |
![]() |
GetActiveTicket |
Returns the ticket used by the current connection
|
![]() |
GetExistingTicket |
Get the existing ticket if any for a user on the secified server
|
![]() |
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetMapApi |
Create a P4.P4MapApi object to be used on the current server connection
|
![]() |
GetP4ConfigFile()()()() |
The config file used by the connection (if any)
|
![]() |
GetP4ConfigFile(String) |
The config file that will be used by a given directory (if any)
|
![]() |
GetP4EnvironmentVar |
Get the value of an P4 environment variable
|
![]() |
getP4Server |
Return the server connetion
|
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IsFileIgnored |
Is this file ignored based on the file specified by p4ignore (if any)
|
![]() |
Login(String) |
Automate the Login to the Perforce Server
|
![]() |
Login(String, Options) |
Login to the Perforce Server
|
![]() |
Login(String, Boolean) |
Runs the login process. If the server is using ticket based
authentication, actually runs the logon three times. Once to
login and update the ticket file, once to get the ticket from
the server and finally once to get the ticket expiration data.
|
![]() |
Login(String, Options, String) |
Run a Login on the Perforce Server
|
![]() |
Logout |
Logout of the Perforce server
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
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.
|
![]() |
SetClient |
Set the client for this connection
|
![]() |
SetP4EnvironmentVar |
Set the value of an P4 environment variable
|
![]() |
SetPassword(String, String) |
Set the current user's password on the Perforce server.
|
![]() |
SetPassword(String, String, String) |
Set the a user's password on the Perforce server.
|
![]() |
ToString | (Inherited from Object.) |
![]() |
Trust |
Run the client side command trust
|
![]() |
TrustAndConnect |
Connect to an ssl server, handle trust handshake
|