MergePullSubscription Members

Represents a pull subscription to a merge publication.

The following tables list the members exposed by the MergePullSubscription type.

Public Constructors

  名称 Description
MergePullSubscription Overloaded. Creates a new instance of the MergePullSubscription class.

顶部

Public Properties

  名称 Description
ms156472.pubproperty(zh-cn,SQL.90).gif AgentJobId  Gets the ID of the agent job used to synchronize the subscription. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif AgentOffload  Gets or sets whether or not the Synchronization Agent runs on a computer other than the one where the agent job was created. This property is no longer supported for Distributors running Microsoft SQL Server 2005 and later. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif AgentOffloadServer  Gets or sets the name of the remote computer where the agent runs when using remote agent activation. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif AgentSchedule  Gets the schedule for the agent job used to synchronize the subscription. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif AltSnapshotFolder  Gets or sets the location where the publication snapshot files are obtained when the default snapshot location at the Distributor is not used. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif CachePropertyChanges  Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject)
ms156472.pubproperty(zh-cn,SQL.90).gif ConnectionContext  Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms156472.pubproperty(zh-cn,SQL.90).gif CreateSyncAgentByDefault  Gets or sets whether or not the agent job used to start the Replication Agent to synchronize the subscription is created when the subscription is created. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif DatabaseName  Gets or sets the name of the subscription database. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif Description  Gets or sets a textual description of the pull subscription. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif DistributorName  Gets or sets the instance of Microsoft SQL Server that is the Distributor and is distributing the publication to which the subscription subscribes. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif DistributorSecurity  Gets the security context used to connect to the Distributor. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif DynamicSnapshotLocation Gets or sets the file location for the subscription-specific snapshot files when the publication uses a parameterized row filter.
ms156472.pubproperty(zh-cn,SQL.90).gif EnabledForSynchronizationManager  Specifies whether or not the subscription can be synchronized using Windows Synchronization Manager. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif FtpAddress  (inherited from PullSubscription )
ms156472.pubproperty(zh-cn,SQL.90).gif FtpLogin  (inherited from PullSubscription )
ms156472.pubproperty(zh-cn,SQL.90).gif FtpPassword  (inherited from PullSubscription )
ms156472.pubproperty(zh-cn,SQL.90).gif FtpPort  (inherited from PullSubscription )
ms156472.pubproperty(zh-cn,SQL.90).gif HostName Gets or sets the value supplied to the HOST_NAME function when this function is used in the parameterized row filter that defines the Subscriber's data partition.
ms156472.pubproperty(zh-cn,SQL.90).gif InternetLogin Gets or sets the login used with HTTP Basic Authentication when connecting to the Web server during Web synchronization.
ms156472.pubproperty(zh-cn,SQL.90).gif InternetPassword Gets or sets the password for the supplied InternetLogin value when connecting to the Web server during Web synchronization.
ms156472.pubproperty(zh-cn,SQL.90).gif InternetSecurityMode Gets or sets the HTTP authentication method used when connecting to the Web server during Web synchronization.
ms156472.pubproperty(zh-cn,SQL.90).gif InternetTimeout Gets or sets the HTTP timeout, in seconds, when connecting to the Web server during Web synchronization.
ms156472.pubproperty(zh-cn,SQL.90).gif InternetUrl Gets or sets the URL to use when synchronizing the subscription using Web synchronization.
ms156472.pubproperty(zh-cn,SQL.90).gif IsExistingObject  Gets whether the object exists on the server or not. (inherited from ReplicationObject)
ms156472.pubproperty(zh-cn,SQL.90).gif LastAgentDateTime  Gets the date and time when the subscription was last synchronized. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif LastAgentStatus  Gets the status of the most recent synchronization of the subscription. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif LastAgentSummary  Gets a summary of the result of the most recent synchronization of the subscription. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif Name  Gets the name generated for the pull subscription. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif Priority Gets or sets the weighting of this server subscription relative to other server subscriptions when resolving conflicts between subscriptions.
ms156472.pubproperty(zh-cn,SQL.90).gif PublicationDBName  Gets or sets the name of the publication database. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif PublicationName  Gets or sets the name of the publication to which the subscription subscribes. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif PublisherName  Gets or sets the name of the Publisher. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif PublisherSecurity  Gets or sets the security context used by the Synchronization Agent when connecting to the Publisher. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif SecureFtpPassword  (inherited from PullSubscription )
ms156472.pubproperty(zh-cn,SQL.90).gif SecureInternetPassword Sets the password (as a SecureString object) used when connecting to the Web server using HTTP Basic Authentication.
ms156472.pubproperty(zh-cn,SQL.90).gif SqlServerName  Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject)
ms156472.pubproperty(zh-cn,SQL.90).gif SubscriberSecurity  Gets the security context that is used by the Synchronization Agent when connecting to the Subscriber. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif SubscriberType Gets or sets whether the subscription is a server or client subscription.
ms156472.pubproperty(zh-cn,SQL.90).gif SubscriptionId  Gets the subscription ID value. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif SubscriptionType  Gets whether the subscription registration is for a push, pull, or anonymous subscription. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif SynchronizationAgent Gets an object that represents an instance of the Merge Agent that can be used to synchronize the subscription.
ms156472.pubproperty(zh-cn,SQL.90).gif SynchronizationAgentProcessSecurity  Gets the security context that is used to specify the Microsoft Windows account under which the Synchronization Agent job runs to synchronize the subscription. (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif SyncType Gets or sets the manner in which data is initialized at the Subscriber.
ms156472.pubproperty(zh-cn,SQL.90).gif Type  (inherited from PullSubscription )
ms156472.pubproperty(zh-cn,SQL.90).gif UseFtp  Gets or sets whether or not the snapshot files needed to initialize the pull subscription are accessed by the Synchronization Agent using File Transfer Protocol (FTP). (inherited from PullSubscription)
ms156472.pubproperty(zh-cn,SQL.90).gif UseInteractiveResolver Gets or sets whether the Interactive Resolver is used during the synchronization process.
ms156472.pubproperty(zh-cn,SQL.90).gif UserData  Gets or sets an object property that allows users to attach their own data to the object. (inherited from ReplicationObject)
ms156472.pubproperty(zh-cn,SQL.90).gif UseWebSynchronization Gets or sets whether the subscription is synchronized using Web synchronization.
ms156472.pubproperty(zh-cn,SQL.90).gif WorkingDirectory  Gets or sets the path of the directory at the Subscriber that is used to temporarily store and decompress downloaded snapshot files. (inherited from PullSubscription)

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms156472.pubmethod(zh-cn,SQL.90).gif CommitPropertyChanges  Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms156472.pubmethod(zh-cn,SQL.90).gif Create  Creates the pull subscription on the Subscriber. (inherited from PullSubscription)
ms156472.pubmethod(zh-cn,SQL.90).gif Decouple  Decouples the referenced replication object from the server. (inherited from ReplicationObject)
ms156472.pubmethod(zh-cn,SQL.90).gif EnumSynchronizationPartners Returns the Alternate Synchronization Partners
ms156472.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms156472.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms156472.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms156472.pubmethod(zh-cn,SQL.90).gif LastAgentJobHistoryInfo  Returns information on the last Synchronization Agent job that was run. (inherited from PullSubscription)
ms156472.pubmethod(zh-cn,SQL.90).gif Load  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms156472.pubmethod(zh-cn,SQL.90).gif LoadProperties  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms156472.pubmethod(zh-cn,SQL.90).gifms156472.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms156472.pubmethod(zh-cn,SQL.90).gif Refresh  Reloads the properties of the object. (inherited from ReplicationObject)
ms156472.pubmethod(zh-cn,SQL.90).gif Reinitialize Marks the merge pull subscription for reinitialization.
ms156472.pubmethod(zh-cn,SQL.90).gif Remove  Removes the pull subscription. (inherited from PullSubscription)
ms156472.pubmethod(zh-cn,SQL.90).gif Script  (inherited from PullSubscription )
ms156472.pubmethod(zh-cn,SQL.90).gif StopSynchronizationJob Overridden. Attempts to stop a running Merge Agent job that is currently synchronizing the subscription.
ms156472.pubmethod(zh-cn,SQL.90).gif SynchronizeWithJob Overridden. Starts the agent job asynchronously to synchronize the pull subscription.
ms156472.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms156472.protmethod(zh-cn,SQL.90).gif CheckValidCreation  (inherited from ReplicationObject )
ms156472.protmethod(zh-cn,SQL.90).gif CheckValidDefinition  (inherited from PullSubscription )
ms156472.protmethod(zh-cn,SQL.90).gif CustomEnabledForSyncMgr  (inherited from PullSubscription )
ms156472.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms156472.protmethod(zh-cn,SQL.90).gif GetChangeCommand  (inherited from ReplicationObject )
ms156472.protmethod(zh-cn,SQL.90).gif GetCreateCommand  (inherited from ReplicationObject )
ms156472.protmethod(zh-cn,SQL.90).gif GetDropCommand  (inherited from ReplicationObject )
ms156472.protmethod(zh-cn,SQL.90).gif InitMemberVariables  (inherited from PullSubscription )
ms156472.protmethod(zh-cn,SQL.90).gif InternalRefresh  (inherited from ReplicationObject )
ms156472.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

MergePullSubscription Class
Microsoft.SqlServer.Replication Namespace

其他资源

如何创建请求订阅(RMO 编程)
用于合并复制的销售订单示例