Partilhar via


EnableTransPublishing Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The EnableTransPublishing property enables or disables transactional replication publication.

Syntax

object
.EnableTransPublishing [=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 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.

Applies To:

ReplicationDatabase Object