SetPropertyValue - 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

SetPropertyValue

Purpose

The CMetaObject class SetPropertyValue function sets the property in the in-memory object to the value specified.

Requirements

If updating an existing object in the repository, the user must first call ReadObject on the object before calling SetPropertyValue.

Syntax

HRESULT SetPropertyValue (
const OBJECTID_t &PropID,
CMetaProperty &metaProperty); 

The above function sets the value of the property to the value set in metaProperty. This function uses PropID to identify the property. The Property ID or Property Name set in metaProperty are ignored.

Note: The property value is not written to the MDS repository until the WriteObject or WriteVersion function is called.

HRESULT SetPropertyValue (
CMetaProperty &metaProperty 

This function sets the value of the property to the value set in metaProperty. The PropertyID or PropertyName must be set in metaProperty to identify the property.

Note: The property value is not written to the MDS repository until the WriteObject or WriteVersion function is called.

 

Argument

In/Out

Description

PropID

In

ID of property to be set

metaProperty

In

Value of the property in a CMetaProperty object.