Perforce API for the .Net CLR P4.Net

P4Connection.Run Method 

Executes a Perforce command in tagged mode.

[Visual Basic]
Public Function Run( _
   ByVal Command As String, _
   ParamArray Args As String() _
) As P4RecordSet
[C#]
public P4RecordSet Run(
   string Command,
   params string[] Args
);

Parameters

Command
The command.
Args
The arguments to the Perforce command. Remember to use a dash (-) in front of all switches

Return Value

A P4Recordset containing the results of the command.

See Also

P4Connection Class | P4API Namespace