共用方式為


MergeArticle.ListReplicatedColumns 方法

Returns the columns that exist in a vertically partitioned article.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Function ListReplicatedColumns As Array
'用途
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

傳回值

型別:System.Array
A String array of column names.

備註

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.

請參閱

參考

MergeArticle 類別

Microsoft.SqlServer.Replication 命名空間