Click or drag to resize

VoDbRddSetDefault Function

X#
Return and optionally change the default RDD for the application.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.22 GA
Syntax
 FUNCTION VoDbRddSetDefault(
	cNewSetting AS STRING
) AS STRING
Request Example View Source

Parameters

cNewSetting
Type: String
The name of the RDD that will be used to activate and manage applications when no RDD is explicitly specified.
If this RDD is not available to the application, the call has no effect.

Return Value

Type: String
If cNewSetting is not specified, VODBRDDSetDefault() returns the current default RDD.
If cNewSetting is specified, the previous default RDD is returned.
Remarks
VODBRDDSetDefault() is like RDDSetDefault() but is strongly typed. See RDDSetDefault() for more information and an example.
Examples