EnableTransPublishing Property (SQL-DMO)

The EnableTransPublishing property enables or disables transactional replication publication.

Applies To

ReplicationDatabase Object

Syntax

object.EnableTransPublishing [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

Remarks

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

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

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetEnableTransPublishing(LPBOOL pRetVal);

HRESULT SetEnableTransPublishing(BOOL NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.