RoleManager.GetConfigurationSetting Method
RoleManager.GetConfigurationSetting Method
Returns the value of the named configuration setting from the service configuration file.

Namespace: Microsoft.ServiceHosting.ServiceRuntime
Assembly: Microsoft.ServiceHosting.ServiceRuntime (in microsoft.servicehosting.serviceruntime.dll)
Usage

Dim roleSettingName As String
Dim returnValue As String

returnValue = RoleManager.GetConfigurationSetting(roleSettingName)
Syntax

Public Shared Function GetConfigurationSetting ( _
    roleSettingName As String _
) As String
public static String GetConfigurationSetting (
    String roleSettingName
)

Parameters

roleSettingName

The name of the configuration setting to retrieve.

Return Value

A string containing the value of the configuration setting.
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008, and Windows 2000

Target Platforms

See Also

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View