SALES: 1-800-867-1380

NamespaceManager.GetRules Method (String, String, String)


Retrieves an enumerable collection of all rules in the service namespace with specified topic path, subscription name and filter.

Namespace:   Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public IEnumerable<RuleDescription> GetRules(
	string topicPath,
	string subscriptionName,
	string filter


Type: System.String

The topic path relative to the service namespace base address.

Type: System.String

The name of the subscription.

Type: System.String

The string used to filter the rules to be retrieved.

Return Value

Type: System.Collections.Generic.IEnumerable<RuleDescription>

An IEnumerable<T> object that represents the collection of all rules in the service namespace or returns an empty collection if no rule exists.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2016 Microsoft