The P4Connection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | P4Connection |
Initializes a new instance of the P4Connection class.
|
Methods
Name | Description | |
---|---|---|
![]() | Connect |
Connect to the Perforce server
|
![]() | ConvertDate | Overloaded. |
![]() | CreatePendingChangelist |
Creates a new pending changelist.
|
![]() | Disconnect |
Disconnect from the Perforce Server
|
![]() | Dispose |
Calls Disconnect.
|
![]() | Equals | (Inherited from Object.) |
![]() | Fetch_Form |
Fetch a form object from Perforce.
|
![]() | 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. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsServerCaseSensitive |
Checks the case-sensitivity of the Perforce server.
|
![]() | IsValidConnection |
Determines if the Perforce connection is valid.
|
![]() | Login |
Login to the Perforce Server
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Parse_Form |
Parse the raw text of a Perforce form into a P4Form object
|
![]() | PrintBinary |
Print the contents of a file in Perforce to a byte array.
|
![]() | PrintStream | Overloaded. |
![]() | PrintStreamEvents |
Runs a print command, and raises events for each file printed.
|
![]() | PrintText |
Print the contents of a file in Perforce to a string.
|
![]() | Run |
Executes a Perforce command in tagged mode.
|
![]() | RunUnParsed |
Executes a Perforce command in non-tagged mode.
|
![]() | Save_Form | Overloaded. |
![]() | ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | Api |
Sets the client API protocol level.
|
![]() | CallingProgram |
Get/Sets the name of the calling program.
|
![]() | CallingVersion |
Gets/Sets the version of the calling program's version.
|
![]() | Charset |
Gets/Sets the client character set.
|
![]() | Client |
Gets/Sets the client workspace.
|
![]() | CWD |
Gets/Sets the current working directory.
|
![]() | ExceptionLevel |
Gets/Sets the Exception level when running Perforce commands.
|
![]() | Host |
Gets/Sets the Host-name of the client.
|
![]() | MaxLockTime |
Gets/Sets a value that overrides the defined MaxLockTime.
|
![]() | MaxResults |
Gets/Sets a value that overrides the defined MaxResults.
|
![]() | MaxScanRows |
Gets/Sets a value that overrides the defined MaxScanRows.
|
![]() | Password |
Sets the password to conenct with.
|
![]() | Port |
Gets/Sets the Perforce Server port.
|
![]() | ServerLevel |
Checks the server level (version) of the Perforce server.
|
![]() | TicketFile |
Sets the ticket file used for Authentication.
|
![]() | User |
Gets/Sets the User login used to connect to Perforce.
|
Events
Name | Description | |
---|---|---|
![]() | OnPrintEndFile |
Raised from P4PrintStreamEvents after a file is printed.
|
![]() | OnPrintStream |
Raised from P4PrintStreamEvents before a file is printed.
|
![]() | OnPrompt |
Raised when Perforce is prompting for a response.
|