Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns the available tables on a non-SQL Server Publisher.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Function EnumHeterogeneousTables ( _
publisherName As String _
) As ArrayList
'Usage
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
Parameter
- publisherName
Typ: System.String
A string value that specifies the Publisher.
Rückgabewert
Typ: System.Collections.ArrayList
A ArrayList containing a collection of HeterogeneousTable objects.
Ausnahmen
| Ausnahme | Bedingung |
|---|---|
| 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. |
Hinweise
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.