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.
object.SetFailoverMode FailoverMode
| Part | Description |
|---|---|
| object | Expression that evaluates to a SQLDistribution object. |
| FailoverMode | Value from the REPL_FAILOVER_MODE enumeration. |
HRESULT SetFailoverMode(REPL_FAILOVER_MODE FailoverMode);