EventHubDescription.PartitionCount Property

Definition

Gets or sets the current number of shards on the Event Hub.

public int PartitionCount { get; set; }
member this.PartitionCount : int with get, set
Public Property PartitionCount As Integer

Property Value

Returns the number of subscriptions on the Event Hub.

Exceptions

Thrown if the partition count value is negative.

Applies to