MergeArticle Object
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
The MergeArticle object represents a table published as part of a merge publication.
Properties
Methods
解説
With the MergeArticle object, you can:
- Add an article to a merge publication.
- Change the properties of an existing merge article.
To add an article (table) to a merge publication
Create a new MergeArticle object.
Set the Name property.
Set the SourceObjectName property to the name of a table.
Set the SourceObjectOwner property to the owner of the table.
Add the MergeArticle object to the MergeArticles collection of a connected MergePublication object.
To alter an existing article (table) of an existing merge publication
Get a MergeArticle object from the MergeArticles collection of a connected MergePublication object.
Use the BeginAlter method to mark the beginning of the changes.
Set the MergeArticle properties to reflect the changes to the article.
Use the DoAlter method to submit the changes to Microsoft SQL Server.
メモ : |
---|
The MergeArticle object is compatible with instances of SQL Server versions 7.0 and later. However, the MergeArticle2 object extends the functionality of the MergeArticle object for use with features that were introduced in SQL Server 2000. |