Share via


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
public Array ListReplicatedColumns ()
public:
Array^ ListReplicatedColumns ()
public Array ListReplicatedColumns ()
public function ListReplicatedColumns () : Array

Return Value

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.

The ListReplicatedColumns method is only available when working with instances of Microsoft SQL Server 2000 and Microsoft SQL Server 2005.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MergeArticle Class
MergeArticle Members
Microsoft.SqlServer.Replication Namespace