RPC HELP TRPCBroker RPCVersion

From VistApedia
Revision as of 19:25, 4 July 2015 by Kdtop (talk | contribs) (Created page with "<h2>RPCVersion Property</h2> Example <h3>Applies to</h3> TRPCBroker component <h3>Declaration</h3> ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RPCVersion Property

Example

Applies to

   TRPCBroker component

Declaration

   property RPCVersion: String;

Description

The RPCVersion design-time property is a published string type property used to pass the version of the RPC. This can be useful for backward compatibility.

As you introduce new functionality into an existing RPC, your RPC can branch into different parts of the code based on the value of the RPCVersion property. The Broker sets the XWBAPVER variable on the VistA M Server to the contents of the RPCVersion property. This property cannot be empty and defaults to "0" (zero).

You may wish to use the application version number in the RPCVersion property. See Application Issues for a suggested method for constructing version numbers.