[This is preliminary documentation and is subject to change.]
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.) |
![]() |
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
|
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Login(String) |
Automate the Login to the Perforce Server
|
![]() |
Login(String, Options) |
Login to the Perforce Server
|
![]() |
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.) |
![]() |
SetClient | |
![]() |
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 | |
![]() |
Credential | |
![]() |
ErrorList |
The errors (if any) of the command execution
|
![]() |
LastResults |
The results of the last command executed
|
![]() |
Server | |
![]() |
Status | |
![]() |
UserName |
Events
Name | Description | |
---|---|---|
![]() |
CommandEcho | |
![]() |
ErrorReceived | |
![]() |
InfoResultsReceived | |
![]() |
TaggedOutputReceived | |
![]() |
TextResultsReceived |