IotHubConnectionStringBuilder.Create 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
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET