ConfigurationHelper.GetCredentials(Of T) Method (IDictionary(Of String, Object), Boolean)
Creates a new credentials object of the specified type using the registered cloud credentials providers and settings.
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Public Shared Function GetCredentials(Of T As CloudCredentials) ( settings As IDictionary(Of String, Object), isRequired As Boolean ) As T
Parameters
- settings
-
Type:
System.Collections.Generic.IDictionary(Of String, Object)
The collection of configuration settings.
- isRequired
-
Type:
System.Boolean
The indicator of whether to require the credentials to be found. The value is true if the credentials must be found; otherwise, false.
Return Value
Type: TAn object that represents the first provider that supports the provided settings.
Type Parameters
- T
The type of cloud credentials.
Show: