adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / ObjectImportParameters Class / MapToOID Field


In This Topic
    MapToOID Field
    In This Topic
    The OID this object will be mapped to.
    Syntax
    'Declaration
     
    
    <DataMemberAttribute()>
    Public MapToOID As OID
    [DataMember()]
    public OID MapToOID
    [DataMember()]
    public:
    OID^ MapToOID
    Remarks
    If MapToOID is set, the object with the specified OID is updated instead of the original target object, and all references in the import source to the original object are replaced with references to MapToOID instead. For example, the ObjectImportParameters for the job with OID A have the MapToOID set to OID B. The existing job with OID B will be updated using the data in the source, and all objects in the source that reference OID A will be changed to reference OID B instead. This value should be set if the ImportObjectHeader.ObjectState is one of the Duplicate values, so that the object with the duplicate key is updated instead of creating a new object with a duplicate key. If you use the ObjectImportParameters Constructor(ImportObjectHeader) constructor, the MapToOID value is automatically set from the ImportObjectHeader.DuplicateObjectOID if appropriate.
    See Also