API | ITcSysManager Parameter Return value Error codes E_INVALIDARG : The NetID is syntactically invalid. E_ACCESSDENIED : The project file is read-only. See also GetTargetNetId 5.1.2.2 ITcSysManager2::GetLastErrorMessages | ITcSysManager2::GetLastErrorMessages Returns the error and warning messages accumulated in the internal buffer and then clears the buffer. Many methods log additional diagnostic messages here, even if their HRESULT is S_OK . Therefore, it is recommended to call this function after each relevant step.
Signature HRESULT GetLastErrorMessages(BSTR* pError); Parameter (none) Return value 5.1.2.3 ITcSysManager2::GetTargetNetId | ITcSysManager2::GetTargetNetId Returns the currently configured AMS NetID of the target system. Signature HRESULT GetTargetNetId(BSTR* pBstrNetId); Parameter (none) Return value TE1000 43 Version: 1.7.0 Name Type Description bstrNetId BSTR [in, defaultvalue("")] AMS NetID in the format a.b.c.d.e.f, empty for the default NetID. Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Name Type Description pError BSTR* [out, retval] Concatenated error/warning text since the last call; may be empty.
(HRESULT) HRESULT S OK if successful, otherwise an error code. _ Name Type Description pBstrNetId BSTR* [out, retval] AMS NetID in the format a.b.c.d.e.f. (HRESULT) HRESULT S OK if successful, otherwise an error code. _