IotHubConnectionStringBuilder.Create Method

Definition

Overloads

Create(String)

Creates an IotHubConnectionStringBuilder object.

Create(String, IAuthenticationMethod)

Creates an IotHubConnectionStringBuilder object.

Create(String)

Creates an IotHubConnectionStringBuilder object.

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

Parameters

iotHubConnectionString
String

The connection string.

Returns

Applies to

Create(String, IAuthenticationMethod)

Creates an IotHubConnectionStringBuilder object.

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

Parameters

hostname
String

The host name.

authenticationMethod
IAuthenticationMethod

The authentication method.

Returns

Applies to