Compartilhar via


RegistryManager.CreateFromConnectionString Método

Definição

Sobrecargas

CreateFromConnectionString(String)

Cria RegistryManager de uma cadeia de conexão do hub IoT.

CreateFromConnectionString(String, HttpTransportSettings)

Cria uma instância do RegistryManager, autenticando-se usando uma cadeia de conexão do hub IoT e especificando as configurações de transporte HTTP.

CreateFromConnectionString(String)

Cria RegistryManager de uma cadeia de conexão do hub IoT.

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

Parâmetros

connectionString
String

A cadeia de conexão do hub IoT.

Retornos

Uma instância do RegistryManager.

Aplica-se a

CreateFromConnectionString(String, HttpTransportSettings)

Cria uma instância do RegistryManager, autenticando-se usando uma cadeia de conexão do hub IoT e especificando as configurações de transporte HTTP.

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

Parâmetros

connectionString
String

A cadeia de conexão do hub IoT.

transportSettings
HttpTransportSettings

As configurações de transporte HTTP.

Retornos

Uma instância do RegistryManager.

Aplica-se a