Compartir a través de


TransPublication Constructor

Creates a new instance of the TransPublication class.

Este miembro está sobrecargado. Para obtener información completa acerca de este miembro, incluidos sintaxis, uso y ejemplos, haga clic en un nombre de la lista de sobrecarga.

Lista de sobrecargas

  Nombre Descripción
Método público TransPublication() () () () Creates a new instance of the TransPublication class.
Método público TransPublication(String, String, ServerConnection) Creates a new instance of the TransPublication class with the required properties.
Método público 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.

Arriba

Comentarios

Texto actualizado: 17 de julio de 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 es una referencia NULL (Nothing en Visual Basic). value.

Property

Default value

Attributes

Values of AllowPush and SnapshotInDefaultFolder for

PublicationAttributes

CachePropertyChanges

false

ConflictPolicy

A value of PublisherWin for ConflictPolicyOption

ConflictRetention

14 (days)

ContinueOnConflict

false

CreateSnapshotAgentByDefault

false

FtpPort1

21

HasSubscription

false

IsExistingObject

false

QueueType

A value of Sql for QueueOption

ReplicateDdl

A value of All for DdlReplicationOptions

RetentionPeriod

0 (never expires)

SnapshotAgentExists

false

SnapshotAvailable

false

SnapshotGenerationAgentPublisherSecurity

A value of true for WindowsAuthentication

SnapshotMethod

A value of BcpNative for InitialSyncType

SnapshotSchedule

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

Status

A value of Active for State

Type

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 Transferir instantáneas mediante FTP.

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