DistributionDatabases Collection
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
The DistributionDatabases collection contains DistributionDatabase objects that expose the properties of Microsoft SQL Server databases used by the replication Distributor for replicated image storage and other tasks.
Methods
|
解説
The DistributionDatabases collection stores a list of distribution databases available at the Distributor. A Publisher using the Distributor selects a single distribution database for each publication managed by the Distributor.
With the DistributionDatabases collection, you can:
- Create a SQL Server database for Distributor use.
- Generate a Transact-SQL command batch to script database creation for all databases used by a Distributor.
- Remove a distribution database.
To remove a distribution database from the Distributor
Get a DistributionDatabase object from the DistributionDatabases collection of a connected Distributor object.
Use the Remove method.