共用方式為


TransPullSubscription Members

Represents a pull subscription to a transactional publication.

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

Public Constructors

  名稱 Description
TransPullSubscription Overloaded. Creates a new instance of the TransPullSubscription class.

頂端

Public Properties

  名稱 Description
ms158429.pubproperty(zh-tw,SQL.90).gif AgentJobId  Gets the ID of the agent job used to synchronize the subscription. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,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)
ms158429.pubproperty(zh-tw,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)
ms158429.pubproperty(zh-tw,SQL.90).gif AgentSchedule  Gets the schedule for the agent job used to synchronize the subscription. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,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)
ms158429.pubproperty(zh-tw,SQL.90).gif Attributes Gets or sets the attributes of a transactional publication that are supported by the subscription.
ms158429.pubproperty(zh-tw,SQL.90).gif CachePropertyChanges  Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject)
ms158429.pubproperty(zh-tw,SQL.90).gif ConnectionContext  Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms158429.pubproperty(zh-tw,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)
ms158429.pubproperty(zh-tw,SQL.90).gif DatabaseName  Gets or sets the name of the subscription database. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif Description  Gets or sets a textual description of the pull subscription. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,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)
ms158429.pubproperty(zh-tw,SQL.90).gif DistributorSecurity  Gets the security context used to connect to the Distributor. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif DtsPackageLocation Gets or sets the location of the Data Transformation Services (DTS) package used with a transformable subscription.
ms158429.pubproperty(zh-tw,SQL.90).gif DtsPackageName Gets or sets the Data Transformation Services (DTS) package name used in a transformable subscription.
ms158429.pubproperty(zh-tw,SQL.90).gif DtsPackagePassword Sets the password that is used with a transformable subscription.
ms158429.pubproperty(zh-tw,SQL.90).gif EnabledForSynchronizationManager  Specifies whether or not the subscription can be synchronized using Windows Synchronization Manager. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif FtpAddress  (inherited from PullSubscription )
ms158429.pubproperty(zh-tw,SQL.90).gif FtpLogin  (inherited from PullSubscription )
ms158429.pubproperty(zh-tw,SQL.90).gif FtpPassword  (inherited from PullSubscription )
ms158429.pubproperty(zh-tw,SQL.90).gif FtpPort  (inherited from PullSubscription )
ms158429.pubproperty(zh-tw,SQL.90).gif IsExistingObject  Gets whether the object exists on the server or not. (inherited from ReplicationObject)
ms158429.pubproperty(zh-tw,SQL.90).gif LastAgentDateTime  Gets the date and time when the subscription was last synchronized. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif LastAgentStatus  Gets the status of the most recent synchronization of the subscription. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif LastAgentSummary  Gets a summary of the result of the most recent synchronization of the subscription. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif LastSummaryDateTime Gets the date and time that the last synchronization was completed.
ms158429.pubproperty(zh-tw,SQL.90).gif Name  Gets the name generated for the pull subscription. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif PublicationDBName  Gets or sets the name of the publication database. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif PublicationName  Gets or sets the name of the publication to which the subscription subscribes. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif PublisherName  Gets or sets the name of the Publisher. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif PublisherSecurity  Gets or sets the security context used by the Synchronization Agent when connecting to the Publisher. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif SecureFtpPassword  (inherited from PullSubscription )
ms158429.pubproperty(zh-tw,SQL.90).gif SqlServerName  Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject)
ms158429.pubproperty(zh-tw,SQL.90).gif SubscriberSecurity  Gets the security context that is used by the Synchronization Agent when connecting to the Subscriber. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif SubscriberType Gets or sets the updating behavior of the subscription.
ms158429.pubproperty(zh-tw,SQL.90).gif SubscriptionId  Gets the subscription ID value. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif SubscriptionType  Gets whether the subscription registration is for a push, pull, or anonymous subscription. (inherited from PullSubscription)
ms158429.pubproperty(zh-tw,SQL.90).gif SynchronizationAgent Gets an object that represents an instance of the Distribution Agent that can be used to synchronize the subscription.
ms158429.pubproperty(zh-tw,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)
ms158429.pubproperty(zh-tw,SQL.90).gif Type  (inherited from PullSubscription )
ms158429.pubproperty(zh-tw,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)
ms158429.pubproperty(zh-tw,SQL.90).gif UserData  Gets or sets an object property that allows users to attach their own data to the object. (inherited from ReplicationObject)
ms158429.pubproperty(zh-tw,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
ms158429.pubmethod(zh-tw,SQL.90).gif CommitPropertyChanges  Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms158429.pubmethod(zh-tw,SQL.90).gif Create  Creates the pull subscription on the Subscriber. (inherited from PullSubscription)
ms158429.pubmethod(zh-tw,SQL.90).gif Decouple  Decouples the referenced replication object from the server. (inherited from ReplicationObject)
ms158429.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms158429.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms158429.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms158429.pubmethod(zh-tw,SQL.90).gif LastAgentJobHistoryInfo  Returns information on the last Synchronization Agent job that was run. (inherited from PullSubscription)
ms158429.pubmethod(zh-tw,SQL.90).gif Load  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms158429.pubmethod(zh-tw,SQL.90).gif LoadProperties  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms158429.pubmethod(zh-tw,SQL.90).gifms158429.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms158429.pubmethod(zh-tw,SQL.90).gif Refresh  Reloads the properties of the object. (inherited from ReplicationObject)
ms158429.pubmethod(zh-tw,SQL.90).gif Reinitialize Marks the pull subscription for reinitialization.
ms158429.pubmethod(zh-tw,SQL.90).gif Remove  Removes the pull subscription. (inherited from PullSubscription)
ms158429.pubmethod(zh-tw,SQL.90).gif Script  (inherited from PullSubscription )
ms158429.pubmethod(zh-tw,SQL.90).gif StopSynchronizationJob Overridden. Attempts to stop a running Distribution Agent job that is currently synchronizing the subscription.
ms158429.pubmethod(zh-tw,SQL.90).gif SynchronizeWithJob Overridden. Starts the agent job to synchronize the subscription.
ms158429.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

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

頂端

請參閱

參考

TransPullSubscription Class
Microsoft.SqlServer.Replication Namespace

其他資源

如何:建立提取訂閱 (RMO 程式設計)