ExchangePlansManager.MasterNode

Syntax:

MasterNode()

Returned value:

Type: ExchangePlanRef.; Undefined.
If the current infobase isn't the infobase distributing node, or the principal node isn't defined for it (it is the root node itself) - the method returns Undefined.

Description:

Obtains the distributed infobase node, being principal for the current infobase.

Availability:

Server, thick client, external connection.

Example:

MainNode = ExchangePlans.MasterNode();

    

1C:Enterprise Developer's Community