共用方式為


TransPullSubscription Constructor (String, String, String, String, ServerConnection)

Creates a new instance of the TransPullSubscription class with the properties that define a pull subscription.

命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

語法

'宣告
Public Sub New ( _
    subscriptionDBName As String, _
    publisherName As String, _
    publicationDBName As String, _
    publicationName As String, _
    subscriberConnectionContext As ServerConnection _
)
public TransPullSubscription (
    string subscriptionDBName,
    string publisherName,
    string publicationDBName,
    string publicationName,
    ServerConnection subscriberConnectionContext
)
public:
TransPullSubscription (
    String^ subscriptionDBName, 
    String^ publisherName, 
    String^ publicationDBName, 
    String^ publicationName, 
    ServerConnection^ subscriberConnectionContext
)
public TransPullSubscription (
    String subscriptionDBName, 
    String publisherName, 
    String publicationDBName, 
    String publicationName, 
    ServerConnection subscriberConnectionContext
)
public function TransPullSubscription (
    subscriptionDBName : String, 
    publisherName : String, 
    publicationDBName : String, 
    publicationName : String, 
    subscriberConnectionContext : ServerConnection
)

參數

  • subscriptionDBName
    A String value that specifies the name of the subscription database.
  • publisherName
    A String value that specifies the name of the Publisher.
  • publicationDBName
    A String value that specifies the name of the publication database.
  • publicationName
    A String value that specifies the name of the publication.
  • subscriberConnectionContext
    A ServerConnection object that specifies Subscriber connection.

備註

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

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

TransPullSubscription Class
TransPullSubscription Members
Microsoft.SqlServer.Replication Namespace