TransPullSubscription 构造函数 (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(在 Microsoft.SqlServer.Rmo.dll 中)
语法
声明
Public Sub New ( _
subscriptionDBName As String, _
publisherName As String, _
publicationDBName As String, _
publicationName As String, _
subscriberConnectionContext As ServerConnection _
)
用法
Dim subscriptionDBName As String
Dim publisherName As String
Dim publicationDBName As String
Dim publicationName As String
Dim subscriberConnectionContext As ServerConnection
Dim instance As New TransPullSubscription(subscriptionDBName, _
publisherName, publicationDBName, _
publicationName, 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
)
new :
subscriptionDBName:string *
publisherName:string *
publicationDBName:string *
publicationName:string *
subscriberConnectionContext:ServerConnection -> TransPullSubscription
public function TransPullSubscription(
subscriptionDBName : String,
publisherName : String,
publicationDBName : String,
publicationName : String,
subscriberConnectionContext : ServerConnection
)
参数
- subscriptionDBName
类型:System. . :: . .String
A String value that specifies the name of the subscription database.
- 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.
- subscriberConnectionContext
类型:Microsoft.SqlServer.Management.Common. . :: . .ServerConnection
A ServerConnection object that specifies Subscriber connection.
注释
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.