Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
The SetFailoverMode method sets the update mode for updating subscriptions that support failover.
Syntax
object.SetFailoverMode FailoverMode
| Part | Description |
|---|---|
object |
Expression that evaluates to a SQLDistribution Object (Replication ActiveX) object. |
FailoverMode |
Value from the REPL_FAILOVER_MODE (Replication ActiveX) enumeration. |
Applies To
SQLDistribution Object (Replication ActiveX)
Remarks
To use this method, the subscription must support failover. For more information, see How to: Create an Updatable Subscription to a Transactional Publication (Replication Transact-SQL Programming).
Prototype (C/C++)
HRESULT SetFailoverMode(REPL_FAILOVER_MODE FailoverMode);
See Also
Tasks
Reference
REPL_FAILOVER_MODE (Replication ActiveX)