SetObjectID - Teradata Meta Data Services

Teradata Meta Data Services Programmer Guide

Product
Teradata Meta Data Services
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
Product Category
Teradata Tools and Utilities

SetObjectID

Purpose

The CMetaPersist class SetObjectID function sets the object ID of the CMetaObject.

Requirements

To write a new object to the MDS repository, the object ID must be set to 0 (zero). If the object ID is not 0 (zero), MDS assumes the WriteObject is an update of the specified object ID.

To read or update an object or a collection of objects, or to add or remove an object from a collection, the object ID must be a known ID of an existing object.

Syntax

void SetObjectID(const OBJECTID_t lOID);
 

Argument

In/Out

Description

lOID

In

The object ID of the object.