Share via


IHostConfigurationSettings.GetSetting Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Retrieves a configuration setting.

Namespace:  Microsoft.AnalysisServices.Hosting
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Function GetSetting ( _
    settingName As String, _
    ParamArray indexes As String() _
) As Object
'Usage
Dim instance As IHostConfigurationSettings 
Dim settingName As String 
Dim indexes As String()
Dim returnValue As Object 

returnValue = instance.GetSetting(settingName, _
    indexes)
Object GetSetting(
    string settingName,
    params string[] indexes
)
Object^ GetSetting(
    String^ settingName, 
    ... array<String^>^ indexes
)
abstract GetSetting : 
        settingName:string * 
        indexes:string[] -> Object
function GetSetting(
    settingName : String, 
    ... indexes : String[]
) : Object

Parameters

Return Value

Type: System.Object
A configuration setting.

See Also

Reference

IHostConfigurationSettings Interface

Microsoft.AnalysisServices.Hosting Namespace