<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>P4Connection Methods</title> <xml> </xml> <link rel="stylesheet" type="text/css" href="MSDN.css" /> </head> <body id="bodyID" class="dtBODY"> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0" id="Table1"> <tr id="hdr"> <td class="runninghead">Perforce API for the .Net CLR</td> <td class="product"><img alt="P4.Net" src="p4net.GIF" /></td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">P4ConnectionMethods</h1> </div> </div> <div id="nstext"> <p>The methods of the <b>P4Connection</b> class are listed below. For a complete list of <b>P4Connection</b> class members, see the <a href="P4API.P4ConnectionMembers.html">P4Connection Members</a> topic.</p> <h4 class="dtH4">Public Instance Methods</h4> <div class="tablediv"> <table class="dtTABLE" cellspacing="0"> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.Connect.html">Connect</a></td><td width="50%"> Connect to the Perforce server </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.ConvertDate_overloads.html">ConvertDate</a></td><td width="50%">Overloaded. Converts Perforce date (integer) to .Net DateTime. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.CreatePendingChangelist.html">CreatePendingChangelist</a></td><td width="50%"> Creates a new pending changelist. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.Disconnect.html">Disconnect</a></td><td width="50%"> Disconnect from the Perforce Server </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.Dispose.html">Dispose</a></td><td width="50%"> Calls Disconnect. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassEqualsTopic.htm">Equals</a> (inherited from <b>Object</b>)</td><td width="50%">Determines whether the specified <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a> is equal to the current <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a>.</td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.Fetch_Form.html">Fetch_Form</a></td><td width="50%"> Fetch a form object from Perforce. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassGetHashCodeTopic.htm">GetHashCode</a> (inherited from <b>Object</b>)</td><td width="50%">Serves as a hash function for a particular type. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassGetTypeTopic.htm">GetType</a> (inherited from <b>Object</b>)</td><td width="50%">Gets the <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemTypeClassTopic.htm">Type</a> of the current instance.</td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.IsServerCaseSensitive.html">IsServerCaseSensitive</a></td><td width="50%"> Checks the case-sensitivity of the Perforce server. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.IsValidConnection.html">IsValidConnection</a></td><td width="50%"> Determines if the Perforce connection is valid. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.Login.html">Login</a></td><td width="50%"> Login to the Perforce Server </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.Parse_Form.html">Parse_Form</a></td><td width="50%"> Parse the raw text of a Perforce form into a P4Form object </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.PrintBinary.html">PrintBinary</a></td><td width="50%"> Print the contents of a file in Perforce to a byte array. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.PrintStream_overloads.html">PrintStream</a></td><td width="50%">Overloaded. Prints the contents of a Perforce file to a Stream. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.PrintStreamEvents.html">PrintStreamEvents</a></td><td width="50%"> Runs a print command, and raises events for each file printed. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.PrintText.html">PrintText</a></td><td width="50%"> Print the contents of a file in Perforce to a string. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.Run.html">Run</a></td><td width="50%"> Executes a Perforce command in tagged mode. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.RunCallback.html">RunCallback</a></td><td width="50%"> Runs the specified command, calling the appropriate callback methods as Perforce returns information. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.RunCallbackUnparsed.html">RunCallbackUnparsed</a></td><td width="50%"> Runs the callback unparsed. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.RunUnParsed.html">RunUnParsed</a></td><td width="50%"> Executes a Perforce command in non-tagged mode. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="P4API.P4Connection.Save_Form_overloads.html">Save_Form</a></td><td width="50%">Overloaded. Saves the form to Perforce. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassToStringTopic.htm">ToString</a> (inherited from <b>Object</b>)</td><td width="50%">Returns a <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">String</a> that represents the current <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a>.</td></tr></table> </div> <h4 class="dtH4">Protected Instance Methods</h4> <div class="tablediv"> <table class="dtTABLE" cellspacing="0"> <tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassFinalizeTopic.htm">Finalize</a> (inherited from <b>Object</b>)</td><td width="50%">Allows an <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a> to attempt to free resources and perform other cleanup operations before the <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a> is reclaimed by garbage collection.</td></tr> <tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassMemberwiseCloneTopic.htm">MemberwiseClone</a> (inherited from <b>Object</b>)</td><td width="50%">Creates a shallow copy of the current <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a>.</td></tr></table> </div> <h4 class="dtH4">See Also</h4> <p> <a href="P4API.P4Connection.html">P4Connection Class</a> | <a href="P4API.html">P4API Namespace</a></p> <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"> <param name="Keyword" value="P4Connection class, methods"> </param> </object> <hr /> <div id="footer"> <p> <a href="Copyright.html">Copyright 2006 Shawn Hladky</a> </p> <p> </p> </div> </div> </body> </html>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 7889 | Johan Nilsson |
Branch from Shawn Hladky's original P4.Net (main branch). Changed file type for StandardTest.cs and UnicodeTest.cs in order to be able to check them in. |
||
//guest/shawn_hladky/P4.Net/main/doc/html/P4API.P4ConnectionMethods.html | |||||
#3 | 7709 | Shawn Hladky | P4.Net: Cleanup, documentation, and a a start for implementing an object-based output for filelog. | ||
#2 | 6105 | Shawn Hladky | P4.Net: Updating documentation output to sandcastle. | ||
#1 | 5830 | Shawn Hladky | P4.Net: reorg to support release branches | ||
//guest/shawn_hladky/P4.Net/doc/html/P4API.P4ConnectionMethods.html | |||||
#1 | 5812 | Shawn Hladky | P4.Net: More documentation. |