Method ITcComObject:TcSetObjectName

The method TcSetObjectName sets objects’s Object Name to the given CHAR*.

Syntax


HRESULT TcSetObjectName( CHAR* objName )

Parameter

objName: (type: CHAR*) the name of the object to be set.

Return value

If successful, S_OK ("0") or another positive value will be returned, cf. Return values. Extended messages refer in particular to the column HRESULT in ADS Return Codes.

Description

The method TcSetObjectName sets objects’s Object Name to the given CHAR*.