다음을 통해 공유


EnumHeterogeneousTables 메서드

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

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

구문

‘선언
Public Function EnumHeterogeneousTables ( _
    publisherName As String _
) As ArrayList
‘사용 방법
Dim instance As ReplicationServer
Dim publisherName As String
Dim returnValue As ArrayList

returnValue = instance.EnumHeterogeneousTables(publisherName)
public ArrayList EnumHeterogeneousTables(
    string publisherName
)
public:
ArrayList^ EnumHeterogeneousTables(
    String^ publisherName
)
member EnumHeterogeneousTables : 
        publisherName:string -> ArrayList 
public function EnumHeterogeneousTables(
    publisherName : String
) : ArrayList

매개 변수

반환 값

유형: 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.

This method is only supported on instances running on SQL Server 2005 or later.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.