Partilhar via


IotHubConnectionStringBuilder.Create Método

Definição

Sobrecargas

Create(String)

Cria um objeto de IotHubConnectionStringBuilder .

Create(String, IAuthenticationMethod)

Cria um objeto de IotHubConnectionStringBuilder .

Create(String)

Cria um objeto de IotHubConnectionStringBuilder .

public static Microsoft.Azure.Devices.IotHubConnectionStringBuilder Create (string iotHubConnectionString);
static member Create : string -> Microsoft.Azure.Devices.IotHubConnectionStringBuilder
Public Shared Function Create (iotHubConnectionString As String) As IotHubConnectionStringBuilder

Parâmetros

iotHubConnectionString
String

A cadeia de conexão.

Retornos

Aplica-se a

Create(String, IAuthenticationMethod)

Cria um objeto de IotHubConnectionStringBuilder .

public static Microsoft.Azure.Devices.IotHubConnectionStringBuilder Create (string hostname, Microsoft.Azure.Devices.IAuthenticationMethod authenticationMethod);
static member Create : string * Microsoft.Azure.Devices.IAuthenticationMethod -> Microsoft.Azure.Devices.IotHubConnectionStringBuilder
Public Shared Function Create (hostname As String, authenticationMethod As IAuthenticationMethod) As IotHubConnectionStringBuilder

Parâmetros

hostname
String

O nome de host.

authenticationMethod
IAuthenticationMethod

O método de autenticação.

Retornos

Aplica-se a