JAMS Developer Guide
GetConfigValue(String,String) Method


MVPSI.JAMSScheduler Namespace > ISchedulerServices Interface > GetConfigValue Method : GetConfigValue(String,String) 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.String _
) As System.String
'Usage
 
Dim instance As ISchedulerServices
Dim configName As System.String
Dim defaultValue As System.String
Dim value As System.String
 
value = instance.GetConfigValue(configName, defaultValue)
System.string GetConfigValue( 
   System.string configName,
   System.string 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