Collapse All Expand All | Language Filter: Visual Basic Language Filter: C#Language Filter: Visual C++Language Filter: JavaScript Visual Basic C# Visual C++ JavaScript | Example | See Also
.NET Framework Class Library
RemoteSession..::TransmitRPC Method (String, String)

BMXNET 4.0 Developer API

Calls a remote procedure on the RPMS server and returns the result as a String.

Namespace: IndianHealthService.BMXNet
Assembly: BMXNET40 (in BMXNET40.dll)

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    string TransmitRPC(
    	string rpcCommand,
    	string rpcParameter
    )

    Function TransmitRPC ( _
    	rpcCommand As String, _
    	rpcParameter As String _
    ) As String

    String^ TransmitRPC(
    	String^ rpcCommand,
    	String^ rpcParameter
    )

#### Parameters

rpcCommand
  String
  The remote procedure call name

rpcParameter
  String
  A carrot ^ delimited string of input parameters

#### Return Value

The result of the RPC call

# Remarks

Presumes that the AppContext was set prior to the call.

# Examples

Copy Code
                ...
                this.RemoteSession.AppContext="VEN RPC";
                ...
                String asqThreadholds= this.RemoteSession.TransmitRPC("VEN ASQ GET DATA", this.Context.Patient.Ien);

# See Also

RemoteSession Interface
TransmitRPC Overload
IndianHealthService.BMXNet Namespace