Responder Developer Guide
ExecuteCommand(OutputVisibility,String,TimeSpan) Method


Indicates the output visibility.
A command string.
The command timeout.
Executes a command and returns the response.
Syntax
'Declaration
 
Public Overloads Function ExecuteCommand( _
   ByVal visibility As OutputVisibility, _
   ByVal input As String, _
   ByVal timeout As TimeSpan _
) As String
'Usage
 
Dim instance As Program
Dim visibility As OutputVisibility
Dim input As String
Dim timeout As TimeSpan
Dim value As String
 
value = instance.ExecuteCommand(visibility, input, timeout)
public string ExecuteCommand( 
   OutputVisibility visibility,
   string input,
   TimeSpan timeout
)

Parameters

visibility
Indicates the output visibility.
input
A command string.
timeout
The command timeout.

Return Value

The response of the command.
Remarks

This method writes to the standard input of the process, waits, and returns the complete response string.

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

Program Class
Program Members
Overload List

 

 


Send Comment