ReplicationDatabase Object
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
The ReplicationDatabase object represents a user database that can participate in replication.
Properties
|
Methods
解説
With the ReplicationDatabase object, you can:
- Enable and disable transactional publishing.
- Enable and disable merge publishing.
- Note The ReplicationDatabase object is compatible with instances of Microsoft SQL Server versions 7.0 and later. However, the ReplicationDatabase2 object extends the functionality of the ReplicationDatabase object for use with features that were introduced in SQL Server 2000.
To enable transactional publishing for a database
- Set the EnableTransPublishing property of a connected ReplicationDatabase object to TRUE.
To disable transactional publishing for a database
- Set the EnableTransPublishing property of a connected ReplicationDatabase object to FALSE.
To enable merge publishing for a database
- Set the EnableMergePublishing property of a connected ReplicationDatabase object to TRUE.
To disable merge publishing for a database
- Set the EnableMergePublishing property of a connected ReplicationDatabase object to FALSE.