Click to Rate and Give Feedback
MSDN
MSDN Library
Online Services
Windows Azure SDK
RoleManager Class
RoleManager Methods
 RoleManager.GetConfigurationSetting...
Collapse All/Expand All Collapse All
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)
Dim roleSettingName As String
Dim returnValue As String

returnValue = RoleManager.GetConfigurationSetting(roleSettingName)
Visual Basic
Public Shared Function GetConfigurationSetting ( _
    roleSettingName As String _
) As String
C#
public static string GetConfigurationSetting (
    string roleSettingName
)
C++
public:
static String^ GetConfigurationSetting (
    String^ roleSettingName
)
J#
public static String GetConfigurationSetting (
    String roleSettingName
)
JScript
public static function GetConfigurationSetting (
    roleSettingName : String
) : String

Parameters

roleSettingName

The name of the configuration setting to retrieve.

Return Value

A string containing the value of the configuration setting.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

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

Target Platforms

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker