API | ITcPlcLibraryManager Parameter Return value Error codes DanglingAdapterException : Adapter not connected. ArgumentException : bstrLibName is empty. SysManAutomationException(…, TSM_E_ITEMNOTFOUND) : Reference not found. 5.25.1.5 ITcPlcLibraryManager::RemoveRepository | ITcPlcLibraryManager::RemoveRepository Removes or unregisters a repository. Signature HRESULT RemoveRepository([in] BSTR bstrName); Parameter Return value Error codes DanglingAdapterException : Adapter not connected. SysManAutomationException(…, TSM_E_ITEMNOTFOUND) : Repository not found.
5.25.1.6 ITcPlcLibraryManager::ScanLibraries | ITcPlcLibraryManager::ScanLibraries Returns a collection of all registered libraries from all registered repositories. Signature HRESULT ScanLibraries([out, retval] ITcPlcReferences** ppEnumLibraries); Parameter (none) Return value TE1000 116 Version: 1.7.0 Name Type Description bstrLibName BSTR [in] Name of the library/placeholder. bstrVersion BSTR [in, defaultvalue("")] Version. bstrCompany BSTR [in, defaultvalue("")] Distributor/company. Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Name Type Description bstrName BSTR [in] Name of the repository.
Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Name Type Description ppEnumLibraries ITcPlcReferences** [out, retval] Collection of libraries. See ITcPlcReferences. (HRESULT) HRESULT S OK if successful, otherwise an error code. _