CreateObject

Syntax

CreateObjectResult CreateObject(OdId tParent, CreateObjectArg tArg)

Parameters

tParent. Moniker of the parent object, within which the operation is executed.

tArg. Operation execution parameters.

Description

The CreateObject operation creates a new repository object.

Comments

The moniker of the folder or one of the available repository container objects must be specified as the tParent parameter value. The following objects can be used as containers: MDM Repository, Time Series Database, Modeling Container, Assembly, and .NET Assembly.

Information about the created object is specified in the tArg parameter. This parameter may also contain parameters of updating the list of repository objects, that will be applied after the operation is executed.

The operation results in the moniker and description of the created object, and the updated list of repository objects, if corresponding operation execution parameters are specified.

Example

Various methods of using this operation are given in the following examples:

Example name
Creating an Object
Creating an Object within the Specified Parent Object

See also:

Common Operations