ReplicationServer.EnumHeterogeneousTables 메서드

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

public ArrayList EnumHeterogeneousTables(
	string publisherName
)

매개 변수

publisherName
유형: System.String
A string value that specifies the Publisher.

반환 값

유형: System.Collections.ArrayList
A ArrayList containing a collection of HeterogeneousTable objects.

예외조건
ApplicationException

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

ArgumentException

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

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.

커뮤니티 추가 항목

추가
표시: