共用方式為


TransSynchronizationAgent Members

Provides the functionality of the Replication Distribution Agent.

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

Public Constructors

  名稱 Description
TransSynchronizationAgent Creates an instance of the TransSynchronizationAgent class.

頂端

Public Properties

  名稱 Description
ms149986.pubproperty(zh-tw,SQL.90).gif AltSnapshotFolder Gets or sets the alternate snapshot folder for the subscription.
ms149986.pubproperty(zh-tw,SQL.90).gif ComErrorCollection Gets a collection of errors that are generated by the replication agent.
ms149986.pubproperty(zh-tw,SQL.90).gif Distributor Gets or sets the name of the instance of Microsoft SQL Server that is acting as the Distributor for the subscription.
ms149986.pubproperty(zh-tw,SQL.90).gif DistributorAddress Gets or sets the network address that is used to connect to the Distributor when the DistributorNetwork property is specified.
ms149986.pubproperty(zh-tw,SQL.90).gif DistributorEncryptedPassword  
ms149986.pubproperty(zh-tw,SQL.90).gif DistributorLogin Gets or sets the login name that is used when connecting to the Distributor by using SQL Server Authentication.
ms149986.pubproperty(zh-tw,SQL.90).gif DistributorNetwork Gets or sets the client Net-Library that is used when connecting to the Distributor.
ms149986.pubproperty(zh-tw,SQL.90).gif DistributorPassword Sets the password that is used when connecting to the Distributor by using SQL Server Authentication.
ms149986.pubproperty(zh-tw,SQL.90).gif DistributorSecurityMode Gets or sets the security mode that is used when connecting to the Distributor.
ms149986.pubproperty(zh-tw,SQL.90).gif DtsPackageFileName Gets or sets the name and path of a Microsoft SQL Server 2000 Data Transformation Services (DTS) package that is used to transform command rowsets before they are applied to a Subscriber.
ms149986.pubproperty(zh-tw,SQL.90).gif DtsPackagePassword Gets or sets the owner password that used to access the Microsoft SQL Server 2000 Data Transformation Services (DTS) package specified by the DtsPackageFileName property.
ms149986.pubproperty(zh-tw,SQL.90).gif FileTransferType Gets or sets how the initial snapshot files are transferred to the Subscriber.
ms149986.pubproperty(zh-tw,SQL.90).gif HostName  
ms149986.pubproperty(zh-tw,SQL.90).gif LastUpdatedTime Gets the timestamp of the last time that replication agent synchronized the subscription.
ms149986.pubproperty(zh-tw,SQL.90).gif LoginTimeout Gets or sets the maximum number of seconds to wait for connections to be established.
ms149986.pubproperty(zh-tw,SQL.90).gif MaxDeliveredTransactions Gets or sets the maximum number of transactions that are applied to the Subscriber during a single agent execution.
ms149986.pubproperty(zh-tw,SQL.90).gif Output Gets or sets the file name and path of the agent output file.
ms149986.pubproperty(zh-tw,SQL.90).gif OutputVerboseLevel Gets or sets the amount of information that is logged by the Distribution Agent in the agent output file.
ms149986.pubproperty(zh-tw,SQL.90).gif ProfileName Gets or sets the name of the profile that is used by the agent.
ms149986.pubproperty(zh-tw,SQL.90).gif Publication Gets or sets the name of the publication.
ms149986.pubproperty(zh-tw,SQL.90).gif Publisher Gets or sets the name of the instance of Microsoft SQL Server that is the Publisher for the subscription.
ms149986.pubproperty(zh-tw,SQL.90).gif PublisherDatabase Gets or sets the name of the publication database.
ms149986.pubproperty(zh-tw,SQL.90).gif QueryTimeout Gets or sets the number of seconds that are allowed for internal queries to complete.
ms149986.pubproperty(zh-tw,SQL.90).gif SecureDistributorEncryptedPassword  
ms149986.pubproperty(zh-tw,SQL.90).gif SecureSubscriberEncryptedPassword  
ms149986.pubproperty(zh-tw,SQL.90).gif SkipErrors Gets or sets a colon-separated list of the error numbers that are to be skipped by this agent.
ms149986.pubproperty(zh-tw,SQL.90).gif Subscriber Gets or sets the name of the instance of Microsoft SQL Server that is the Subscriber.
ms149986.pubproperty(zh-tw,SQL.90).gif SubscriberDatabase Gets or sets the name of the subscription database.
ms149986.pubproperty(zh-tw,SQL.90).gif SubscriberDatabasePath  
ms149986.pubproperty(zh-tw,SQL.90).gif SubscriberDataSourceType Gets or sets the type of data source that is used as the Subscriber.
ms149986.pubproperty(zh-tw,SQL.90).gif SubscriberEncryptedPassword  
ms149986.pubproperty(zh-tw,SQL.90).gif SubscriberLogin Gets or sets the login name that is used when connecting to the Subscriber by using SQL Server Authentication.
ms149986.pubproperty(zh-tw,SQL.90).gif SubscriberPassword Sets the password that is used when connecting to the Subscriber by using SQL Server Authentication.
ms149986.pubproperty(zh-tw,SQL.90).gif SubscriberSecurityMode Gets or sets the security mode that is used when connecting to the Publisher.
ms149986.pubproperty(zh-tw,SQL.90).gif SubscriptionType Gets or sets whether the subscription is a push or pull subscription.
ms149986.pubproperty(zh-tw,SQL.90).gif UndeliveredCommands  
ms149986.pubproperty(zh-tw,SQL.90).gif UndeliveredTransactions  
ms149986.pubproperty(zh-tw,SQL.90).gif UseInProcLoader Gets or sets whether to use the BULK INSERT command when applying snapshot files at the Subscriber.
ms149986.pubproperty(zh-tw,SQL.90).gif WorkingDirectory Gets or sets the working directory from which snapshot files are accessed when File Transfer Protocol (FTP) is used.

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms149986.pubmethod(zh-tw,SQL.90).gif Abort  
ms149986.pubmethod(zh-tw,SQL.90).gif CreateObjRef  (inherited from MarshalByRefObject )
ms149986.pubmethod(zh-tw,SQL.90).gif Dispose Overloaded.  
ms149986.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms149986.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms149986.pubmethod(zh-tw,SQL.90).gif GetLifetimeService  (inherited from MarshalByRefObject )
ms149986.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms149986.pubmethod(zh-tw,SQL.90).gif InitializeLifetimeService  (inherited from MarshalByRefObject )
ms149986.pubmethod(zh-tw,SQL.90).gif IsSnapshotRequired Connects to the Distributor and the Subscriber to determine whether a new snapshot will be applied during the next agent synchronization.
ms149986.pubmethod(zh-tw,SQL.90).gifms149986.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms149986.pubmethod(zh-tw,SQL.90).gif Synchronize Starts the Distribution Agent to synchronize the subscription.
ms149986.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

  名稱 Description
ms149986.protmethod(zh-tw,SQL.90).gif Dispose Overloaded.  
ms149986.protmethod(zh-tw,SQL.90).gif Finalize Overridden.  
ms149986.protmethod(zh-tw,SQL.90).gif MemberwiseClone  Overloaded. (inherited from MarshalByRefObject )

頂端

Public Events

  名稱 Description
ms149986.pubevent(zh-tw,SQL.90).gif ComStatus  
ms149986.pubevent(zh-tw,SQL.90).gif Status Occurs when the Distribution Agent returns synchronization status information.

頂端

請參閱

參考

TransSynchronizationAgent Class
Microsoft.SqlServer.Replication Namespace

其他資源

如何:同步處理提取訂閱 (RMO 程式設計)
如何:同步處理發送訂閱 (RMO 程式設計)
Replication Distribution Agent