ReplicationServer.EnumHeterogeneousColumns(String, String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回非 SQL Server 發行者上資料表中的資料行。
public:
System::Collections::ArrayList ^ EnumHeterogeneousColumns(System::String ^ publisherName, System::String ^ tableName, System::String ^ ownerName);
public System.Collections.ArrayList EnumHeterogeneousColumns (string publisherName, string tableName, string ownerName);
member this.EnumHeterogeneousColumns : string * string * string -> System.Collections.ArrayList
Public Function EnumHeterogeneousColumns (publisherName As String, tableName As String, ownerName As String) As ArrayList
參數
- publisherName
- String
指定非 SQL Server 發行者的字串值。
- tableName
- String
指定資料行所屬資料表的字串值。
- ownerName
- String
指定資料表擁有者的字串值。
傳回
ArrayList,其中包含 HeterogeneousColumn 物件的陣列。
例外狀況
當 SQL Server 的實例不是散發者,或在 SQL Server 早于 SQL Server 2005 的版本上執行時。
如果其中一個參數為 null、包含 null 字元,或超過128個位元組。
備註
EnumHeterogeneousColumns當連接到非發行者的散發者時,會使用方法 SQL Server 。
EnumHeterogeneousColumns選擇要在非發行集的發行項中發行的資料行時,會使用方法 SQL Server 。
只有在散發者端的 EnumHeterogeneousColumns 系統管理員(sysadmin)固定伺服器的成員,才能呼叫此方法。