MergeArticle.ListReplicatedColumns Method
Returns the columns that exist in a vertically partitioned article.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Function ListReplicatedColumns As Array
'Usage
Dim instance As MergeArticle
Dim returnValue As Array
returnValue = instance.ListReplicatedColumns()
public Array ListReplicatedColumns()
public:
Array^ ListReplicatedColumns()
member ListReplicatedColumns : unit -> Array
public function ListReplicatedColumns() : Array
Return Value
Type: System.Array
A String array of column names.
Remarks
Calling the ListReplicatedColumns method is equivalent to executing sp_helpmergearticlecolumn.
The ListReplicatedColumns method can only be called by members of the replmonitor fixed database role on the publication database or members of the publication access list (PAL) for the publication.