PublicationAttributes 열거형

Enumerates supported publication properties.

이 열거형에는 해당 멤버 값에 대한 비트 조합이 가능한 FlagsAttribute 특성이 있습니다.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

[FlagsAttribute]
public enum PublicationAttributes

멤버 이름설명
NoneRemoves all options from Attributes.
AllowPushSubscriptions where the synchronization agent runs at the Distributor (push subscriptions) are supported.
AllowPullSubscriptions where the synchronization agent runs at the Subscriber (pull subscriptions) are supported. Required to support SQL Server Compact Subscribers.
AllowAnonymousAnonymous subscriptions can subscribe to the publication. Anonymous subscriptions are required if you want to create a subscription without registering the subscription at the Publisher. This is necessary for cases in which you cannot establish a SQL Server connection to the Publisher during subscription configuration.

InternetEnabledPublication can be synchronized over the Internet, and file transfer protocol (FTP) can be used to transfer the snapshot files to a Subscriber. For more information, see 인터넷을 통한 복제.
ImmediateSyncSynchronization files for the publication are recreated each time the Snapshot Agent runs. Subscribers are able to get the synchronization files immediately if the Snapshot Agent has completed before the subscription is created. New subscriptions get the newest synchronization files generated by the most recent execution of the Snapshot Agent. When setting ImmediateSync, IndependentAgent must also be set.
IndependentAgentEach subscription uses its own replication agent instance when synchronizing with the Publisher. Setting this option reduces latency and is the default for a transactional publication. Merge replication always uses independent agents.
SnapshotInDefaultFolderThe snapshot files for the publication are maintained in the default folder. When SnapshotInDefaultFolder is not specified, you must specify an alternate location for the snapshot files using AltSnapshotFolder.
CompressSnapshotSnapshot files are compressed into the CAB format. Snapshot files that are larger than 2 gigabytes (GB) cannot be compressed. Not supported for SQL Server Compact Subscribers.
AllowSubscriptionCopyDatabases that subscribe to the publication can be copied and attached to create new subscriptions. Attachable subscriptions have been deprecated.
AllowSynchronousTransactionsImmediate updating subscriptions are supported for transactional publications. Supported only for transactional publications.
AutomaticGenerateSyncProceduresThe stored procedure used by updating subscriptions to synchronize with the transactional publication is automatically generated. Supported only for transactional publications.
CentralizedConflictsConflict records are stored at the Publisher. Supported only for merge publications.
EnabledForActiveDirectoryThe attribute is EnabledForActiveDirectory.
AllowQueuedTransactionsQueued updating subscriptions are supported for transactional publications. Supported only for transactional publications.
AllowDtsTransformationMicrosoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.
DynamicFiltersParameterized row filters are supported on a merge publication. Supported only for a merge publication.
KeepPartitionChangesPartition change optimizations are used when precomputed partitions cannot be used. Do not specify KeepPartitionChanges when PartitionGroupsOption is True. For more information, see 사전 계산 파티션으로 매개 변수가 있는 필터 성능 최적화.
AllowSyncToAlternateSubscribers can synchronize subscriptions to the merge publication with servers other than the Publisher where the subscription originated. Supported only for merge publications. This feature is deprecated and will be removed in a future release. Not supported for SQL Server Compact Subscribers.
AllowSubscriberInitiatedSnapshotSubscribers can initiate the snapshot process to generate the filtered snapshot for their data partition when the merge publication has parameterized filters. Supported only for merge publications.
AllowWebSynchronizationSubscribers can synchronize subscriptions over the Internet using the HTTPS protocol. Supported only for merge publications. Only available with SQL Server 2005. Required to support SQL Server Compact Subscribers. For more information, see 병합 복제에 대한 웹 동기화.
AllowInitializationFromBackupSubscribers can initialize a subscription to the publication from a backup rather than the initial snapshot. Supported only for transactional or snapshot replication.
EnabledForPeerToPeerPeer-to-peer transactional replication is supported. Supported only for transactional publications. Only available with SQL Server 2005 and later versions.

When setting EnabledForPeerToPeer, the following restrictions apply:

  • Type must be set to Transactional.

  • ConflictPolicy must be null.

  • The following options must be set:

    • AllowInitializationFromBackup

    • IndependentAgent

  • The following options cannot be set:

    • AllowAnonymous

    • AllowDtsTransformation

    • AllowQueuedTransactions

    • AllowSynchronousTransactions

AllowPartitionRealignmentDeletes are sent to the Subscriber when modification of the row on the Publisher causes it to change its partition and when the publication uses parameterized filters. Supported only for merge publications.
참고참고

If this attribute is not enabled, data from an old partition remains on the Subscriber. Changes made to this data on the Publisher will not replicate to this Subscriber, but changes made on the Subscriber will replicate to the Publisher. Therefore, you should treat data from an old partition as read-only data.

DecentralizedConflictsConflict records are stored at the Subscriber. Supported only for merge publications. Not supported for SQL Server Compact Subscribers.
EnabledForHeterogeneousSubscribersNon- SQL Server Subscribers are supported. Supported only for transactional and snapshot publications. Only available with SQL Server 2005 and later versions.

When setting EnabledForHeterogeneousSubscribers, the following restrictions apply:

The PublicationAttributes enumeration supports the FlagsAttribute option, which allows a bitwise combination of enumeration values.

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

커뮤니티 추가 항목

추가
표시: