ExchangePlansManager.CreateInitialImage

Syntax:

CreateInitialImage(<Node>, <ConnectionString>)

Parameters:

<Node> (required)

Type: ExchangePlanRef.; ExchangePlanManager..
A reference to exchange plan node or an object representing exchange plan node. This node should belong to an exchange plan of the distributed infobase and should not be a master node for this node of the distributed infobase.

<ConnectionString> (required)

Type: String.
Connection string specifying the infobase in which an initial image of slave node of the distributed infobase will be created. The infobase used for creating the initial image must be empty or non-existent.

Description:

Creates an initial image of the slave node in the distributed infobase. The initial image is unloaded into the infobase that was created while creating an initial image or is empty.

Availability:

Server, thick client, external connection.

Note:

When creating an initial image, all configuration and data item registration records for this node are deleted.

Example:

ExchangePlans.CreateInitialImage(Node,
    "File=c:/1cv8/MDDistr/New;Locale=en_US");


    

1C:Enterprise Developer's Community