Condividi tramite


Metodo ListReplicatedColumns

Returns the columns that exist in a vertically partitioned article.

Spazio dei nomi:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Sintassi

'Dichiarazione
Public Function ListReplicatedColumns As Array
'Utilizzo
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

Valore restituito

Tipo: System. . :: . .Array
A String array of column names.

Osservazioni

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.