The Connection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Connection |
Initializes a new instance of the Connection class
|
Methods
Name | Description | |
---|---|---|
![]() |
Connect | |
![]() |
CreateCommand |
Create a P4Command that can be run on the connection
|
![]() |
Disconnect()()()() | |
![]() |
Disconnect(Options) | |
![]() |
Dispose |
Releases all resources used by the Connection
|
![]() |
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
|
![]() |
GetP4EnvironmentVar | |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IsFileIgnored | |
![]() |
Login(String) |
Automate the Login to the Perforce Server
|
![]() |
Login(String, Options) |
Login to the Perforce Server
|
![]() |
Login(String, Boolean) | |
![]() |
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 | |
![]() |
SetP4EnvironmentVar | |
![]() |
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 |
Properties
Name | Description | |
---|---|---|
![]() |
ApiLevel |
What API level does the server support
|
![]() |
CharacterSetName | |
![]() |
Client | |
![]() |
ClientMetadata | |
![]() |
CommandTimeout | |
![]() |
Credential | |
![]() |
CurrentWorkingDirectory | |
![]() |
KeepAlive | |
![]() |
LastResults |
The results of the last command executed
|
![]() |
Server | |
![]() |
Status | |
![]() |
UserName |
Events
Name | Description | |
---|---|---|
![]() |
CommandEcho | |
![]() |
ErrorReceived | |
![]() |
InfoResultsReceived | |
![]() |
TaggedOutputReceived | |
![]() |
TextResultsReceived |