GetAvailableEnvironmentOptions Method (IPISDKOptions interface)

                    

 

This method returns a NamedValues collection of available Environment options. The contained NamedValue objects represent the options where the Name property is the option name.  The Value property has no meaning.   

Syntax

object.GetAvailableEnvironmentOptions

The object placeholder is an object expression that evaluates to an IPISDKOptions interface, obtained from a PISDK object.

Remarks

The options currently managed by this method are:

Setting Description Default
NOPISDKBUFFERING  Flag to enable or disable automatic buffering with pibufss in PISDK 1.4 and later. false
BUFFER_RECOVERABLE_DELAY_SECS Time in seconds the PI-SDK waits after receiving a recoverable error from the buffering subsystem before retrying. 60
BUFFER_RETRY_OPEN_DELAY_SECS Time in seconds the PI-SDK waits after failing to open a collective member server for registration only before retrying. 120
BUFFEREDSERVER  The server that will be buffered. The applies only to pibufss that supports a single server. Subsystems that support multiple servers do not need this setting.  
UILANGUAGE  The UI language for PIConstant collections and COM common controls. 0
SDKCODEPAGE  The code page for non-UNICODE (mult-byte) string translations. 0
SDKLOCALRPCTIMEOUT  The timeout setting for calls to local subsystems such as the buffer subsystem and message subsystem. 5

 

Trappable Errors

In addition to generic errors (such as Out of Memory), the following errors may occur:

Error Description
E_INVALIDARG, E_POINTER Some of the function arguments are not valid.
Enabling Operational Intelligence