다음을 통해 공유


MergePublication 생성자

보호된 멤버 포함
상속된 멤버 포함

Creates a new instance of the MergePublication class.

이 멤버는 오버로드됩니다. 구문, 사용법 및 예제를 포함하여 이 멤버에 대한 전체 정보를 확인하려면 오버로드 목록에서 이름을 클릭하십시오.

오버로드 목록

  이름 설명
공용 메서드 MergePublication() Creates a new instance of the MergePublication class.
공용 메서드 MergePublication(String, String, ServerConnection) Initializes a new instance of the MergePublication class with the specified name, database, and connection to the Publisher.
공용 메서드 MergePublication(String, String, ServerConnection, Boolean) Creates an instance of the MergePublication class, specifying whether the Snapshot Agent job should be created by default.

맨 위로 이동

주의

업데이트된 텍스트:   2006년 7월 17일

The following table shows the default property values for a new instance of MergePublication. Any properties that are not explicitly enumerated in this table are initialized to a nullnull 참조(Visual Basic에서는 Nothing) value.

Property

Default value

Attributes

Values of AllowPush, CentralizedConflicts, DecentralizedConflicts, IndependentAgent, ImmediateSync, and AllowPartitionRealignment for

PublicationAttributes

AutomaticReinitializationPolicy

A value of Reinitialize for AutomaticReinitializationPolicies

CachePropertyChanges

false

CompatibilityLevel

A value of LatestVersion for PublicationCompatibilityLevel

ConflictRetention

14 (days)

CreateSnapshotAgentByDefault

false

FtpPort1

21

HasSubscription

false

IsExistingObject

false

MaxConcurrentDynamicSnapshots

0 (no maximum)

MaxConcurrentMerge

0 (no maximum)

PartitionGroupsOption

A value of AutoSet for PartitionGroupsOption

Priority

100

ReplicateDdl

A value of All for DdlReplicationOptions

RetentionPeriod

14 (days)

RetentionPeriodUnit

A value of Days for RetentionPeriodUnits

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 the publication creation date for ActiveStartDate

A value of 500 for ActiveStartTime

A value of 14 for FrequencyInterval

A value of 0 for FrequencyRecurrenceFactor

A value of First for FrequencyRelativeInterval

A value of Once for FrequencySubDay

A value of 5 for FrequencySubDayInterval

A value of Daily for FrequencyType

Status

A value of Active for State

Type

A value of Merge for PublicationType

UsesHostName

false

1 The FTP (file transfer protocol) port is used only when you transfer snapshots by using FTP. For more information, see FTP를 통해 스냅숏 전송.

참고 항목

참조

MergePublication 클래스

Microsoft.SqlServer.Replication 네임스페이스