JAMS Developer Guide
GetConfigValue(String,Boolean) Method


MVPSI.JAMSScheduler Namespace > ISchedulerServices Interface > GetConfigValue Method : GetConfigValue(String,Boolean) Method
The name of the configuration setting that you want to retrieve.
The default value to be used if the configuration setting is not found.
Gets the value of a JAMS Configuration setting.
Syntax
'Declaration
 
Overloads Function GetConfigValue( _
   ByVal configName As System.String, _
   ByVal defaultValue As System.Boolean _
) As System.Boolean
'Usage
 
Dim instance As ISchedulerServices
Dim configName As System.String
Dim defaultValue As System.Boolean
Dim value As System.Boolean
 
value = instance.GetConfigValue(configName, defaultValue)
System.bool GetConfigValue( 
   System.string configName,
   System.bool defaultValue
)

Parameters

configName
The name of the configuration setting that you want to retrieve.
defaultValue
The default value to be used if the configuration setting is not found.

Return Value

Either the value of the configuration setting or, the default value.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ISchedulerServices Interface
ISchedulerServices Members
Overload List