Udostępnij za pośrednictwem


TransSubscriptionCollection.Item[] Property

Definition

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

Overloads

Item[Int32]

Gets a TransSubscription object in the collection by index number.

Item[String, String]

Gets a TransSubscription object in the TransSubscriptionCollection, 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 .NET Framework.

Item[Int32]

Gets a TransSubscription object in the collection by index number.

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

Parameters

index
Int32

An Int32 value that specifies the position of the TransSubscription object in the TransSubscriptionCollection.

Property Value

A TransSubscription 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 TransSubscription object in the TransSubscriptionCollection, by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription.

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

Parameters

subscriberName
String

A String value that specifies the Subscriber.

subscriptionDBName
String

A String value that specifies the subscription database.

Property Value

A TransSubscription object.

Remarks

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

Applies to