Sdílet prostřednictvím


MergePullSubscriptionCollection.Item Property (String, String, String)

Gets a MergePullSubscription object in the collection by the PublisherName, PublicationDBName, and PublicationName properties that uniquely identify the pull subscription.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    publisherName As String, _
    publicationDBName As String, _
    publicationName As String _
) As MergePullSubscription
    Get
'Usage
Dim instance As MergePullSubscriptionCollection
Dim publisherName As String
Dim publicationDBName As String
Dim publicationName As String
Dim value As MergePullSubscription

value = instance(publisherName, publicationDBName, _
    publicationName)
public MergePullSubscription this[
    string publisherName,
    string publicationDBName,
    string publicationName
] { get; }
public:
property MergePullSubscription^ default[String^ publisherName, String^ publicationDBName, String^ publicationName] {
    MergePullSubscription^ get (String^ publisherName, String^ publicationDBName, String^ publicationName);
}
member Item : MergePullSubscription
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • publicationDBName
    Type: System.String
    A String value that specifies the name of the publication database.
  • publicationName
    Type: System.String
    A String value that specifies the name of the merge publication.

Property Value

Type: Microsoft.SqlServer.Replication.MergePullSubscription
A MergePullSubscription object value that represents the merge pull subscription.

Remarks

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