共用方式為


TransPullSubscriptionCollection.Item 屬性 (String, String, String)

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

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public ReadOnly Default Property Item ( _
    publisherName As String, _
    publicationDBName As String, _
    publicationName As String _
) As TransPullSubscription 
    Get
'用途
Dim instance As TransPullSubscriptionCollection 
Dim publisherName As String 
Dim publicationDBName As String 
Dim publicationName As String 
Dim value As TransPullSubscription 

value = instance(publisherName, publicationDBName, _
    publicationName)
public TransPullSubscription this[
    string publisherName,
    string publicationDBName,
    string publicationName
] { get; }
public:
property TransPullSubscription^ default[String^ publisherName, String^ publicationDBName, String^ publicationName] {
    TransPullSubscription^ get (String^ publisherName, String^ publicationDBName, String^ publicationName);
}
member Item : TransPullSubscription
JScript 支援索引屬性的使用,但不支援新屬性的宣告。

參數

  • publisherName
    型別:System.String
    A String value that specifies the name of the Publisher.
  • publicationDBName
    型別:System.String
    A String value that specifies the name of the publication database.
  • publicationName
    型別:System.String
    A String value that specifies the name of the publication.

屬性值

型別:Microsoft.SqlServer.Replication.TransPullSubscription
A TransPullSubscription object.

備註

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

請參閱

參考

TransPullSubscriptionCollection 類別

Item 多載

Microsoft.SqlServer.Replication 命名空間