Partager via


EnableMergePublishing Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The EnableMergePublishing property enables or disables merge replication publication.

Syntaxe

object
.EnableMergePublishing [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetEnableMergePublishing(LPBOOL pRetVal);
HRESULT SetEnableMergePublishing(BOOL NewValue);

Notes

If TRUE, the referenced replication database is enabled for merge replication.

If FALSE, the referenced replication database cannot be used for merge replication.

Applies To:

ReplicationDatabase Object