Subscription.GetRules Method

Gets all rules in an enumerated collection.

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

Syntax

'Declaration
Public Function GetRules As IEnumerable(Of Rule)
'Usage
Dim instance As Subscription
Dim returnValue As IEnumerable(Of Rule)

returnValue = instance.GetRules()
public IEnumerable<Rule> GetRules()
public:
IEnumerable<Rule^>^ GetRules()
member GetRules : unit -> IEnumerable<Rule> 
public function GetRules() : IEnumerable<Rule>

Return Value

Type: System.Collections.Generic.IEnumerable<Rule>
An enumerated collection of rules under this subscription.

See Also

Reference

Subscription Class

Microsoft.ServiceBus.Messaging Namespace