AddReplicatedColumns Method

SQLServer.Database.Publication.Article Object

Description

Adds a list of columns of the source table to the group of columns that are replicated, if the Article is vertically partitioned.

Visual Basic

Article.AddReplicatedColumns ( [Columns :=] midColumns )

C++

HRESULT pArticle->AddReplicatedColumns ( SQLOLE_LPCSTR midColumns );

Elements

Element Type Description

midColumns MultiString Delimited list of columns. If empty, the vertical partition is cleared and all columns are included in the article.

Reference

sp_articlecolumn