MantisConnect 1.0a2

Request.ConfigGet Method 

Get string value of the specified configuration option.

[Visual Basic]
Public Sub ConfigGet( _
   ByVal config As String, _
   ByRef str As String _
)
[C#]
public void ConfigGet(
   string config,
   out string str
);

Parameters

config
Name of configuration option (without the $g_ part)
str
An output parameter to hold the value of the configuration option

Remarks

If the caller attempts to retrieve sensitive configuration options like passwords, database name, ...etc, an exception will be raised. TODO: Overload this method to get more types of configurations.

See Also

Request Class | Futureware.MantisConnect Namespace