Topic.AddSubscription Method (String)

Adds a subscription to this topic, with a default pass-through filter added.

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


Public Function AddSubscription ( _
    name As String _
) As Subscription
Dim instance As Topic
Dim name As String
Dim returnValue As Subscription

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


Return Value

Type: Microsoft.ServiceBus.Messaging.Subscription
An instance of the Subscription management entity.

See Also


Topic Class

AddSubscription Overload

Microsoft.ServiceBus.Messaging Namespace