Udostępnij za pośrednictwem


ReplicationServer.EnumHeterogeneousTables(String) Method

Definition

Returns the available tables on a non-SQL Server Publisher.

public:
 System::Collections::ArrayList ^ EnumHeterogeneousTables(System::String ^ publisherName);
public System.Collections.ArrayList EnumHeterogeneousTables (string publisherName);
member this.EnumHeterogeneousTables : string -> System.Collections.ArrayList
Public Function EnumHeterogeneousTables (publisherName As String) As ArrayList

Parameters

publisherName
String

A string value that specifies the Publisher.

Returns

A ArrayList containing a collection of HeterogeneousTable objects.

Exceptions

When the currently connected instance of SQL Server is not a Distributor or is not running on SQL Server 2005 or later.

If one of the parameters is null, contains null characters, or exceeds 128 bytes.

Remarks

The EnumHeterogeneousTables method is used when adding articles to a publication on a non-SQL Server Publisher.

The EnumHeterogeneousTables method can only be called when the currently connected instance of SQL Server is a Distributor.

The EnumHeterogeneousTables method can only be called by members of the sysadmin fixed server role.

Applies to