Export (0) Print
Expand All

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

Creates a new instance of the TransPullSubscription class with the properties that define a pull subscription, and whether or not to create the agent job for the subscription.

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

public TransPullSubscription(
	string subscriptionDBName,
	string publisherName,
	string publicationDBName,
	string publicationName,
	ServerConnection subscriberConnectionContext,
	bool createDistributionAgentByDefault
)

Parameters

subscriptionDBName
Type: String
A String value that specifies the name of the subscription database.
publisherName
Type: String
A String value that specifies the name of the Publisher.
publicationDBName
Type: String
A String value that specifies the name of the publication database.
publicationName
Type: String
A String value that specifies the name of the publication.
subscriberConnectionContext
Type: ServerConnection
A ServerConnection object that specifies Subscriber connection.
createDistributionAgentByDefault
Type: Boolean
A Boolean value that indicates whether to create the Distribution Agent job to synchronize the subscription.

Community Additions

ADD
Show:
© 2014 Microsoft