Used to retrieve the configuration setting in medium trust configurations, when a setting cannot be picked up if it hasn't a "requirePermission" attriobute attached to it.
As this attribute cannot be attached to non-custom sections in web.config, this method is used to retrieve the required settings.
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static string RetrieveConfigSetting(
string nodeName,
string attributeName
) |
Visual Basic |
---|
Public Shared Function RetrieveConfigSetting (
nodeName As String,
attributeName As String
) As String |
Visual C++ |
---|
public:
static String^ RetrieveConfigSetting(
String^ nodeName,
String^ attributeName
) |
F# |
---|
static member RetrieveConfigSetting :
nodeName : string *
attributeName : string -> string
|
Return Value
Type:
StringThe value of the attribute passed in as a parameter.
See Also