共用方式為


Object Model for ActiveX Controls

The table shows the Microsoft ActiveX controls and lists and describes their associated objects and collections.

ms147365.security(zh-tw,SQL.90).gif安全性注意事項:
Replication ActiveX controls (sqldistx.dll, sqlmergx.dll, and replerrx.dll) are designated as "not safe for scripting" and "not safe for initialization."

ActiveX control

Object

Description

SQL Distribution Control

SQLDistribution Object (Replication ActiveX)

Provides the functionality of the Distribution Agent and supports synchronization of push, pull, or anonymous subscriptions to a transactional publication.

 

SQLReplError Object (Replication ActiveX)

Defines an error that occurred during processing by an ActiveX replication control.

 

SQLReplErrors Collection (Replication ActiveX)

Contains a SQLReplError Object (Replication ActiveX) object for each error that has occurred during the most recent method execution of an ActiveX replication control.

SQL Merge Control

SQLMerge Object (Replication ActiveX)

Provides the functionality of the Merge Agent and supports synchronization of push, pull, or anonymous subscriptions to a merge publication.

 

AlternateSyncPartners Collection (Replication ActiveX)

Contains all of the AlternateSyncPartner Object (Replication ActiveX) objects.

ms147365.note(zh-tw,SQL.90).gif重要事項:

The Alternate Synchronization Partners feature for merge replication has been deprecated.

 

AlternateSyncPartner Object (Replication ActiveX)

Defines an alternate synchronization partner that a subscription (referenced by the SQLMerge Object (Replication ActiveX) object) can use if the primary Publisher is not available, or if use of the alternate synchronization partner is preferable.

ms147365.note(zh-tw,SQL.90).gif重要事項:

The Alternate Synchronization Partners feature for merge replication has been deprecated.

 

SQLReplError Object (Replication ActiveX)

Defines an error that occurred during processing by an ActiveX replication control.

 

SQLReplErrors Collection (Replication ActiveX)

Contains a SQLReplError Object (Replication ActiveX) object for each error that has occurred during the most recent method execution of an ActiveX replication control.

請參閱

其他資源

快照式複寫如何運作
交易式複寫的運作方式

說明及資訊

取得 SQL Server 2005 協助