共用方式為


EventHubsConnectionStringProperties.Parse(String) Method

Definition

Parses the specified Event Hubs connection string into its component properties.

public static Azure.Messaging.EventHubs.EventHubsConnectionStringProperties Parse (string connectionString);
static member Parse : string -> Azure.Messaging.EventHubs.EventHubsConnectionStringProperties
Public Shared Function Parse (connectionString As String) As EventHubsConnectionStringProperties

Parameters

connectionString
String

The connection string to parse.

Returns

The component properties parsed from the connection string.

Exceptions

The specified connection string was malformed and could not be parsed.

Applies to