Method SetProfile
SetProfile(InitializationOptions, string)
An extension to set the profile to use.
Declaration
public static InitializationOptions SetProfile(this InitializationOptions options, string profile)
Parameters
Type | Name | Description |
---|---|---|
InitializationOptions | options | The InitializationOptions object to modify |
string | profile | The profile to use |
Returns
Type | Description |
---|---|
InitializationOptions | Return |
Exceptions
Type | Condition |
---|---|
AuthenticationException | the method will fail with an AuthenticationException if an invalid profile name is passed
|