RegistryManager.CreateFromConnectionString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateFromConnectionString(String) |
Creates RegistryManager from an IoT hub connection string. |
CreateFromConnectionString(String, HttpTransportSettings) |
Creates an instance of RegistryManager, authenticating using an IoT hub connection string, and specifying HTTP transport settings. |
CreateFromConnectionString(String)
Creates RegistryManager from an IoT hub connection string.
public static Microsoft.Azure.Devices.RegistryManager CreateFromConnectionString (string connectionString);
static member CreateFromConnectionString : string -> Microsoft.Azure.Devices.RegistryManager
Public Shared Function CreateFromConnectionString (connectionString As String) As RegistryManager
Parameters
- connectionString
- String
The IoT hub connection string.
Returns
A RegistryManager instance.
Applies to
CreateFromConnectionString(String, HttpTransportSettings)
Creates an instance of RegistryManager, authenticating using an IoT hub connection string, and specifying HTTP transport settings.
public static Microsoft.Azure.Devices.RegistryManager CreateFromConnectionString (string connectionString, Microsoft.Azure.Devices.HttpTransportSettings transportSettings);
static member CreateFromConnectionString : string * Microsoft.Azure.Devices.HttpTransportSettings -> Microsoft.Azure.Devices.RegistryManager
Public Shared Function CreateFromConnectionString (connectionString As String, transportSettings As HttpTransportSettings) As RegistryManager
Parameters
- connectionString
- String
The IoT hub connection string.
- transportSettings
- HttpTransportSettings
The HTTP transport settings.
Returns
A RegistryManager instance.
Applies to
Azure SDK for .NET