Dela via


EventHubsModelFactory.EventHubProperties Method

Definition

Initializes a new instance of the EventHubProperties(String, DateTimeOffset, String[]) class.

public static Azure.Messaging.EventHubs.EventHubProperties EventHubProperties (string name, DateTimeOffset createdOn, string[] partitionIds);
static member EventHubProperties : string * DateTimeOffset * string[] -> Azure.Messaging.EventHubs.EventHubProperties
Public Shared Function EventHubProperties (name As String, createdOn As DateTimeOffset, partitionIds As String()) As EventHubProperties

Parameters

name
String

The name of the Event Hub.

createdOn
DateTimeOffset

The date and time at which the Event Hub was created.

partitionIds
String[]

The set of unique identifiers for each partition.

Returns

Applies to