Share via


Topic.GetSubscription Method

Gets a subscription.

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

Syntax

'Declaration
Public Function GetSubscription ( _
    name As String _
) As Subscription
'Usage
Dim instance As Topic
Dim name As String
Dim returnValue As Subscription

returnValue = instance.GetSubscription(name)
public Subscription GetSubscription(
    string name
)
public:
Subscription^ GetSubscription(
    String^ name
)
member GetSubscription : 
        name:string -> Subscription 
public function GetSubscription(
    name : String
) : Subscription

Parameters

Return Value

Type: Microsoft.ServiceBus.Messaging.Subscription
The subscription.

See Also

Reference

Topic Class

Microsoft.ServiceBus.Messaging Namespace