Replication Programming

SetFailoverMode Method

The SetFailoverMode method sets the Subscriber update mode when adding subscriptions to use immediate (DTC) updates or queued updates, or support immediate updating with a queued updating failover.

Applies To

SQLDistribution Object

Syntax

object.SetFailoverMode FailoverMode

Part Description
object Expression that evaluates to a SQLDistribution object.
FailoverMode Value from the REPL_FAILOVER_MODE enumeration.

Prototype (C/C++)

HRESULT SetFailoverMode(REPL_FAILOVER_MODE FailoverMode);

See Also

REPL_FAILOVER_MODE