共用方式為


ReplicationTable 建構 (String, String, String, ServerConnection)

Creates a new instance of the ReplicationTable class with the specified name and owner, on the specified database, and with the specified connection to an instance of Microsoft SQL Server.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Sub New ( _
    name As String, _
    ownerName As String, _
    databaseName As String, _
    connectionContext As ServerConnection _
)
'用途
Dim name As String
Dim ownerName As String
Dim databaseName As String
Dim connectionContext As ServerConnection

Dim instance As New ReplicationTable(name, ownerName, _
    databaseName, connectionContext)
public ReplicationTable(
    string name,
    string ownerName,
    string databaseName,
    ServerConnection connectionContext
)
public:
ReplicationTable(
    String^ name, 
    String^ ownerName, 
    String^ databaseName, 
    ServerConnection^ connectionContext
)
new : 
        name:string * 
        ownerName:string * 
        databaseName:string * 
        connectionContext:ServerConnection -> ReplicationTable
public function ReplicationTable(
    name : String, 
    ownerName : String, 
    databaseName : String, 
    connectionContext : ServerConnection
)

參數

  • ownerName
    型別:System. . :: . .String
    A String value that specifies the owner of the database. If no value is specified, then the db_owner user is assumed.

備註

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