SE_metadatainfo_get_object_name

Retrieves the object name of the supplied metadata object

Usage syntax

LONG SE_metadatainfo_get_object_name (const SE_METADATAINFO metadata_record, CHAR *object_name);

Parameters
metadata_record A pointer to a metadata object
object_name A pointer to the name of the owner of the metadata
Description

This function returns the fully qualified name of the object to which this metadata object belongs. Use SE_MAX_OBJECT_NAME_LEN when declaring the object_name parameter.

For Oracle, the format is <owner>.<object_name>.

For SQL Server and PostgreSQL, the format is <database>.<owner>.<object_name>.

For Informix, the format is <database>:<owner>.<object_name>.

For DB2, the format is <database>.<owner>.<object_name>.

Returns

SE_SUCCESS
SE_FAILURE

SE_INVALID_METADATA_OBJECT

SE_INVALID_POINTER

SE_SDE_NOT_STARTED