Condividi tramite


NamespaceManager.GetConsumerGroups(String) Method

Definition

Gets a collection representing a set of consumer groups.

public System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.ConsumerGroupDescription> GetConsumerGroups (string eventHubPath);
member this.GetConsumerGroups : string -> seq<Microsoft.ServiceBus.Messaging.ConsumerGroupDescription>
Public Function GetConsumerGroups (eventHubPath As String) As IEnumerable(Of ConsumerGroupDescription)

Parameters

eventHubPath
String

The path to the Event Hub.

Returns

Returns an IEnumerable<T> object representing the set of consumer groups.

Applies to