Export (0) Print
Expand All

LoadSettings Method

Loads the settings from the specified array into the provider configuration settings.

Namespace:  Microsoft.Web.Management.Client
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public void LoadSettings(
	string[] parameters
)

Parameters

parameters
Type: array<System..::..String>[]()[][]
The array to load.

When the array specified by the parameters parameter is loaded, you can access the provider configuration as a System.Collections..::..IDictionary interface by using the GetSettings method.

You should set the string array in key/value pairs. For example, the array should be defined similar to the following:

string[parameters] = {
    "key0", "value0",
    "key1", "value1",
    "key2", "value2"
}

For an example of this method, see the example for the ProviderConfigurationSettings class.

Community Additions

ADD
Show:
© 2015 Microsoft