Конструктор TransPublication
Creates a new instance of the TransPublication class.
Этот элемент перегружен. Чтобы получить полные сведения об этом элементе (синтаксисе, использовании и примерах использования), щелкните его имя в списке перегрузок.
Список перегрузок
Имя | Описание | |
---|---|---|
TransPublication() () () () | Creates a new instance of the TransPublication class. | |
TransPublication(String, String, ServerConnection) | Creates a new instance of the TransPublication class with the required properties. | |
TransPublication(String, String, ServerConnection, Boolean) | Creates a new instance of the TransPublication class with the required properties, and indicates whether the Snapshot Agent job for the publication is created. |
В начало
Замечания
Изменения текста 17 июля 2006 г.
The following table shows the default property values for a new instance of TransPublication. Any properties that are not explicitly enumerated in this table are initialized to a null Nothing nullptr unit пустая ссылка (Nothing в Visual Basic) value.
Property |
Default value |
---|---|
Values of AllowPush and SnapshotInDefaultFolder for |
|
false |
|
A value of PublisherWin for ConflictPolicyOption |
|
14 (days) |
|
false |
|
false |
|
21 |
|
false |
|
false |
|
A value of Sql for QueueOption |
|
A value of All for DdlReplicationOptions |
|
0 (never expires) |
|
false |
|
false |
|
A value of true for WindowsAuthentication |
|
A value of BcpNative for InitialSyncType |
|
A value of 99991231 for ActiveEndDate A value of 235959 for ActiveEndTime A value of 0 for ActiveStartDate A value of 0 for ActiveStartTime A value of 1 for FrequencyInterval A value of 0 for FrequencyRecurrenceFactor A value of First for FrequencyRelativeInterval A value of Hour for FrequencySubDay A value of 1 for FrequencySubDayInterval A value of Daily for FrequencyType |
|
A value of Active for State |
|
A value of Transactional for PublicationType |
1 The FTP (file transfer protocol) port is used only if you transfer snapshots by using FTP. For more information, see Передача моментальных снимков по протоколу FTP.
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.