Konstruktor TransPublication (String, String, ServerConnection)
Tworzy nowe wystąpienie TransPublication klasy z wymaganych właściwości.
Przestrzeń nazw: Microsoft.SqlServer.Replication
Zestaw: Microsoft.SqlServer.Rmo (w Microsoft.SqlServer.Rmo.dll)
Składnia
'Deklaracja
Public Sub New ( _
name As String, _
databaseName As String, _
connectionContext As ServerConnection _
)
'Użycie
Dim name As String
Dim databaseName As String
Dim connectionContext As ServerConnection
Dim instance As New TransPublication(name, databaseName, _
connectionContext)
public TransPublication(
string name,
string databaseName,
ServerConnection connectionContext
)
public:
TransPublication(
String^ name,
String^ databaseName,
ServerConnection^ connectionContext
)
new :
name:string *
databaseName:string *
connectionContext:ServerConnection -> TransPublication
public function TransPublication(
name : String,
databaseName : String,
connectionContext : ServerConnection
)
Parametry
- name
Typ: System.String
A String wartość, która określa nazwę publikacja.
- databaseName
Typ: System.String
A String wartość, która określa nazwę baza danych publikacja.
- connectionContext
Typ: Microsoft.SqlServer.Management.Common.ServerConnection
A ServerConnection obiektu, który reprezentuje połączenie wydawcy lub dystrybutora do nie-SQL Server wydawcy.
Uwagi
Ten obszar nazw, klasy lub element członkowski jest obsługiwany tylko w wersja 2.0.NET Framework.
Zobacz także