EnableTransPublishing Property

SQL-DMO

SQL-DMO

EnableTransPublishing Property

The EnableTransPublishing property enables or disables transactional replication publication.

Applies To
ReplicationDatabase Object
Syntax

object.EnableTransPublishing [= value]

Part

object

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 GetEnableTransPublishing(LPBOOL pRetVal);

HRESULT SetEnableTransPublishing(BOOL NewValue);

Remarks

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

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