Share via


NamespaceManager.GetConsumerGroup(String, String) Method

Definition

Gets an Event Hubs consumer group.

public Microsoft.ServiceBus.Messaging.ConsumerGroupDescription GetConsumerGroup (string eventHubPath, string name);
member this.GetConsumerGroup : string * string -> Microsoft.ServiceBus.Messaging.ConsumerGroupDescription
Public Function GetConsumerGroup (eventHubPath As String, name As String) As ConsumerGroupDescription

Parameters

eventHubPath
String

The path to the Event Hub.

name
String

The name of the consumer group.

Returns

Returns ConsumerGroupDescription.

Applies to