Udostępnij za pośrednictwem


MergeSubscriptionCollection.Item[] Property

Definition

Gets a MergeSubscription object in the collection by index number or by the properties that uniquely define a subscription.

Overloads

Item[Int32]

Gets a MergeSubscription object in the collection by index number.

Item[String, String]

Gets a MergeSubscription object in the MergeSubscriptionCollection by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription.

Remarks

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

Item[Int32]

Gets a MergeSubscription object in the collection by index number.

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

Parameters

index
Int32

An Int32 value that specifies the position of the MergeSubscription object in the MergeSubscriptionCollection.

Property Value

A MergeSubscription object.

Remarks

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

Applies to

Item[String, String]

Gets a MergeSubscription object in the MergeSubscriptionCollection by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription.

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

Parameters

subscriberName
String

A String value that specifies the Subscriber.

subscriptionDBName
String

A String value that specifies the subscription database.

Property Value

A MergeSubscription object.

Remarks

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

Applies to