MetaInfoKey Class - 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

MetaInfoKey Class

The IMetaInfoKey interface is returned from the MetaActive GetClassObjectKeys and GetCollectionKeys functions. It is also used as input for some object ID collections (vectors), for example, for the IMetaSecProfInfo:SetAIMsProfile's AIMList parameter. This parameter is an IMetaInfoKeyList where the key-list's MetaInfoKey interfaces contain the object IDs of the AIM profiles to be changed.

 

Property

Type

Description

ObjectID

Long

The object identifier.

Name

BSTR

The object name.

get_ObjectID

Purpose:

Gets the object ID.

Syntax:

HRESULT get_ObjectID(Long *pVal);

put_ObjectID

Purpose:

Sets the object ID in the key.

Syntax:

HRESULT put_ObjectID(long newVal);

get_Name

Purpose:

Gets the object name.

Syntax:

HRESULT get_Name(BSTR *pVal);

put_Name

Purpose:

Sets the object name in the key.

Syntax:

HRESULT put_Name(BSTR newVal);