共用方式為


TransArticle.ListReplicatedColumns 方法

Returns the published columns in a table article.

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

語法

'宣告
Public Function ListReplicatedColumns As Array
'用途
Dim instance As TransArticle 
Dim returnValue As Array 

returnValue = instance.ListReplicatedColumns()
public Array ListReplicatedColumns()
public:
Array^ ListReplicatedColumns()
member ListReplicatedColumns : unit -> Array
public function ListReplicatedColumns() : Array

傳回值

型別:System.Array
An array of String values.

備註

The ListReplicatedColumns method can only be called by members of the sysadmin fixed server role at the Publisher, by members of the db_owner fixed database role on the publication database, or by a user in the publication access list (PAL).

Calling ListReplicatedColumns is equivalent to executing sp_helparticlecolumns.

請參閱

參考

TransArticle 類別

Microsoft.SqlServer.Replication 命名空間