RPC HELP TSharedRPCBroker AllowShared Property

From VistApedia
Jump to: navigation, search

RPC Broker Help Home

AllowShared Property

Applies to

   TSharedRPCBroker component

Declaration

   property AllowShared: Boolean;

Description

The AllowShared property determines whether or not the connection through the RPCBroker to the VistA M Server can be shared with other applications. If it is not set, the value will be False and the application will have its own dedicated partition on the server. If it is set to True, the partition may be shared with other applications.

WARNING: If an application depends on whether local variables from previous calls are present in the partition **DO NOT** permit the partition to be Shared. If the partition is shared, local variables will be cleared out between RPC calls.