Collapse All Expand All | Language Filter: Visual Basic Language Filter: C#Language Filter: Visual C++Language Filter: JavaScript Visual Basic C# Visual C++ JavaScript | See Also
.NET Framework Class Library
RemoteSession Methods

BMXNET 4.0 Developer API

The RemoteSession type exposes the following methods.

# Methods

Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |

| Member | Description
--- | --- | ---
| AsyncTableFromCommand(String) | Same as the corresponding TableFromCommand call except a DataTableFuture is returned. See DataTableFuture on how to use a 'Future
| AsyncTableFromCommand(String, String) | Same as the corresponding TableFromCommand call except a DataTableFuture is returned. See DataTableFuture on how to use a 'Future
| AsyncTableFromCommand(String, DataSet, String) | Same as the corresponding TableFromCommand call except a DataTableFuture is returned. See DataTableFuture on how to use a 'Future
| AsyncTableFromCommand(String, DataSet, String, String) | Same as the corresponding TableFromCommand call except a DataTableFuture is returned. See DataTableFuture on how to use a 'Future
| AsyncTableFromRPC(String, String) | Same as the corresponding TableFromRPC call except a DataTableFuture is returned. See DataTableFuture on how to use a 'Future
| AsyncTableFromRPC(String, String, String) | Same as the corresponding TableFromRPC call except a DataTableFuture is returned. See DataTableFuture on how to use a 'Future
| AsyncTableFromRPC(String, String, DataSet, String) | Same as the corresponding TableFromRPC call except a DataTableFuture is returned. See DataTableFuture on how to use a 'Future
| AsyncTableFromRPC(String, String, DataSet, String, String) | Same as the corresponding TableFromRPC call except a DataTableFuture is returned. See DataTableFuture on how to use a 'Future
| AsyncTableFromSQL(String) |
| AsyncTableFromSQL(String, String) |
| AsyncTableFromSQL(String, DataSet, String) |
| AsyncTableFromSQL(String, DataSet, String, String) |
| Close()()() | When done with session it should be closed. Once closed it is unusable.
| IsBmxAdoCommand(String) | Answer True if aString is a standard BMX ADO SS command that uses the BMX ADO SCHEMA files
| SafelyTransmitRPC(String, String) | Calls a remote procedure on the RPMS server and returns the result as a String. If there are any exceptions a colon delimited string in the format Exception:Message is returned.
| SafelyTransmitRPC(String, String, String) | Calls a remote procedure on the RPMS server and returns the result as a String. If there are any exceptions a colon delimited string in the format Exception:Message is returned.
| SaveChanges(DataTable) | # Examples
Copy Code
                this.Context.Visit.Create();
                if (this.Context.Visit.IsStub)
                {
                    if (!this.Context.Visit.Create())
                    {
                        return false;
                    }
                }
                this.RemoteSession.SaveChanges(this.ScoreTable);
| TableFromCommand(String) | Calling a Custom Remote Procedure call (RPC) registered in VA FileMan’s REMOTE PROCEDURE file that results in a DataTable. You must design your remote procedure’s M routine to build its result its data in the specific format described later in this document.
| TableFromCommand(String, String) | Calling a Custom Remote Procedure call (RPC) registered in VA FileMan’s REMOTE PROCEDURE file that results in a DataTable. You must design your remote procedure’s M routine to build its result its data in the specific format described later in this document.
| TableFromCommand(String, DataSet, String) | Calling a Custom Remote Procedure call (RPC) registered in VA FileMan’s REMOTE PROCEDURE file that results in a DataTable. You must design your remote procedure’s M routine to build its result its data in the specific format described later in this document.
| TableFromCommand(String, DataSet, String, String) | Calling a Custom Remote Procedure call (RPC) registered in VA FileMan’s REMOTE PROCEDURE file that results in a DataTable. You must design your remote procedure’s M routine to build its result its data in the specific format described later in this document.
| TableFromRPC(String, String) | TabletFromRpc is a double-dispatch method that is used by some developers. Developers create an RPC call the returns a properly format BMX command (custom or BMX SS ADO) that is then transmitted back to RPMS to retrieve the Data Table.
| TableFromRPC(String, String, String) | TabletFromRpc is a double-dispatch method that is used by some developers. Developers create an RPC call the returns a properly format BMX command (custom or BMX SS ADO) that is then transmitted back to RPMS to retrieve the Data Table.
| TableFromRPC(String, String, DataSet, String) | TabletFromRpc is a double-dispatch method that is used by some developers. Developers create an RPC call the returns a properly format BMX command (custom or BMX SS ADO) that is then transmitted back to RPMS to retrieve the Data Table.
| TableFromRPC(String, String, DataSet, String, String) | TabletFromRpc is a double-dispatch method that is used by some developers. Developers create an RPC call the returns a properly format BMX command (custom or BMX SS ADO) that is then transmitted back to RPMS to retrieve the Data Table.
| TableFromSQL(String) |
| TableFromSQL(String, String) |
| TableFromSQL(String, DataSet, String) |
| TableFromSQL(String, DataSet, String, String) | SELECT VA_PATIENT.NAME, VA_PATIENT.SSN, PATIENT.CURRENT_COMMUNITY FROM VA_PATIENT, PATIENT WHERE VA_PATIENT.BMXIEN =* INTERNAL[PATIENT.NAME] AND VA_PATIENT.NAME LIKE 'DEMO%' AND VA_PATIENT.AGE BETWEEN 15 AND 24 SHOWPLAN
| TransmitRPC(String, String) | Calls a remote procedure on the RPMS server and returns the result as a String.
| TransmitRPC(String, String, String) |

# See Also

RemoteSession Interface
IndianHealthService.BMXNet Namespace