Click or drag to resize

CheckinManagerCheckin Method

Does synchronous checkin of all files in the configuration.

Namespace:  Aras.IOME
Assembly:  IOM (in IOM.dll) Version: 14.0.20.39432
Syntax
public Item Checkin(
	int numberOfThreads
)

Parameters

numberOfThreads
Type: SystemInt32
The amount of threads from 1 to 10.

Return Value

Type: Item
Item - result of applying of configuration
Examples
C#
...
HttpServerConnection connection = CreateHttpServerConnection("innovatorServerUrl");
Innovator innovator = IomFactory.CreateInnovator(connection);
Item itm = innovator.newItem();
itm.loadAML("<AML/>");
CheckinManager checkin = factory.CreateCheckinManager(itm);
Item result = checkin.Checkin(2);
...
C++
...
IOM::IHttpServerConnectionComIncomingPtr connection = iomFactory->CreateHttpServerConnection(innovatorServerUrl, database, userName, password);
connection->Login();
IOM::IInnovatorComIncomingPtr innovator = iomFactory->CreateInnovator(connection);
IOM::IItemComIncomingPtr configuration = innovator->newItem("CAD", "add");
configuration->loadAML(aml);
IOM::ICheckinManagerComIncomingPtr checkinManager = iomFactory->CreateCheckinManager(configuration);
checkinManager->Checkin(2);
...
See Also