語言

ReplicationTable 建構函式

定義

建立 ReplicationTable 類別的新實例。

多載

名稱 Description
ReplicationTable()

建立 ReplicationTable 類別的新實例。

ReplicationTable(String, String, String, ServerConnection)

建立一個以指定名稱與擁有者、在指定資料庫上,並以指定連線連接 Microsoft SQL Server 實例的新類別實例ReplicationTable。

ReplicationTable()

建立 ReplicationTable 類別的新實例。

public:
 ReplicationTable();
public ReplicationTable();
Public Sub New ()

備註

預設建構子會將任何欄位初始化為其預設值。

適用於

ReplicationTable(String, String, String, ServerConnection)

建立一個以指定名稱與擁有者、在指定資料庫上,並以指定連線連接 Microsoft SQL Server 實例的新類別實例ReplicationTable。

public:
 ReplicationTable(System::String ^ name, System::String ^ ownerName, System::String ^ databaseName, Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext);
public ReplicationTable(string name, string ownerName, string databaseName, Microsoft.SqlServer.Management.Common.ServerConnection connectionContext);
new Microsoft.SqlServer.Replication.ReplicationTable : string * string * string * Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Replication.ReplicationTable
Public Sub New (name As String, ownerName As String, databaseName As String, connectionContext As ServerConnection)

參數

name
String

資料庫的名稱。

ownerName
String

資料庫的擁有者。 若未指定值,則假設db_owner使用者。

databaseName
String

複製表所屬的資料庫。

connectionContext
ServerConnection

連接上下文用於與 SQL Server 實例建立連線。

適用於