GetRules Method (String, String, String)
Collapse the table of content
Expand the table of content

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
© 2016 Microsoft