DistributionSubscriptionCollection.Item[] Property

Definition

Gets a DistributionSubscription object in the collection, by index number or by the properties that uniquely define the subscription at the Distributor.

Overloads

Item[Int32]

Gets a DistributionSubscription object in the collection by index number.

Item[String, String]

Gets a DistributionSubscription object in the DistributionSubscriptionCollection by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription at the Distributor.

Remarks

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Item[Int32]

Gets a DistributionSubscription object in the collection by index number.

public:
 property Microsoft::SqlServer::Replication::DistributionSubscription ^ default[int] { Microsoft::SqlServer::Replication::DistributionSubscription ^ get(int index); };
public Microsoft.SqlServer.Replication.DistributionSubscription this[int index] { get; }
member this.Item(int) : Microsoft.SqlServer.Replication.DistributionSubscription
Default Public ReadOnly Property Item(index As Integer) As DistributionSubscription

Parameters

index
Int32

An Int32 value that specifies the position of the DistributionSubscription object in the DistributionSubscriptionCollection.

Property Value

A DistributionSubscription object.

Remarks

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Applies to

Item[String, String]

Gets a DistributionSubscription object in the DistributionSubscriptionCollection by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription at the Distributor.

public:
 property Microsoft::SqlServer::Replication::DistributionSubscription ^ default[System::String ^, System::String ^] { Microsoft::SqlServer::Replication::DistributionSubscription ^ get(System::String ^ subscriberName, System::String ^ subscriptionDBName); };
public Microsoft.SqlServer.Replication.DistributionSubscription this[string subscriberName, string subscriptionDBName] { get; }
member this.Item(string * string) : Microsoft.SqlServer.Replication.DistributionSubscription
Default Public ReadOnly Property Item(subscriberName As String, subscriptionDBName As String) As DistributionSubscription

Parameters

subscriberName
String

A String value that specifies the Subscriber.

subscriptionDBName
String

A String value that specifies the subscription database.

Property Value

A DistributionSubscription object.

Remarks

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Applies to