ExchangePlansManager.SetMasterNode

Syntax:

SetMasterNode(<MasterNode>)

Parameters:

<MasterNode> (optional)

Type: ExchangePlanRef.; ExchangePlanObject.; Undefined.
If a ExchangePlanRef. or ExchangePlanObject. value is passed, the exchange plan associated with this reference or object must be a distributed infobase exchange plan.
If Undefined value is passed, then the master node is unassigned.

Description:

Sets a master node of the distributed infobase for the current infobase or unassigns the master node.

Availability:

Server, thick client, external connection.

Example:

ExchangePlans.SetMasterNode(MainNode);

    

1C:Enterprise Developer's Community