Share via


EventHubClient.GetConsumerGroup(String) Method

Definition

Returns the consumer group with the specified name, for the receive operation of event data.

public Microsoft.ServiceBus.Messaging.EventHubConsumerGroup GetConsumerGroup (string groupName);
member this.GetConsumerGroup : string -> Microsoft.ServiceBus.Messaging.EventHubConsumerGroup
Public Function GetConsumerGroup (groupName As String) As EventHubConsumerGroup

Parameters

groupName
String

The name of the group.

Returns

A EventHubConsumerGroup instance, corresponding to the consumer group.

Applies to