Does synchronous checkin of all files in the configuration.
Namespace:
Aras.IOME
Assembly:
IOM (in IOM.dll) Version: 11.0.0.6296
Syntax
C# |
---|
public Item Checkin(
int numberOfThreads
) |
Visual Basic (Declaration) |
---|
Public Function Checkin ( _
numberOfThreads As Integer _
) As Item |
J# |
---|
public Item Checkin(
int numberOfThreads
) |
JScript |
---|
public function Checkin(
numberOfThreads : int
) : Item |
Parameters
- numberOfThreads
- Type: System..::.Int32
The amount of threads from 1 to 10.
Return Value
Item - result of applying of configuration
Examples
CopyC#
...
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);
...
CopyC++
...
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