MergeSubscriptionCollection.Item Property (String, String)
Gets a MergeSubscription object in the MergeSubscriptionCollection by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
subscriberName As String, _
subscriptionDBName As String _
) As MergeSubscription
Get
'Usage
Dim instance As MergeSubscriptionCollection
Dim subscriberName As String
Dim subscriptionDBName As String
Dim value As MergeSubscription
value = instance(subscriberName, subscriptionDBName)
public MergeSubscription this[
string subscriberName,
string subscriptionDBName
] { get; }
public:
property MergeSubscription^ default[String^ subscriberName, String^ subscriptionDBName] {
MergeSubscription^ get (String^ subscriberName, String^ subscriptionDBName);
}
member Item : MergeSubscription
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- subscriberName
Type: System.String
A String value that specifies the Subscriber.
- subscriptionDBName
Type: System.String
A String value that specifies the subscription database.
Property Value
Type: Microsoft.SqlServer.Replication.MergeSubscription
A MergeSubscription object.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.