API | ITcPlcLibraryManager Signature HRESULT InstallLibrary([in] BSTR bstrRepositoryName, [in] BSTR bstrLibPath, [in] VARIANT_BOOL bOverw rite); Parameter Return value Error codes DanglingAdapterException : Adapter not connected. SysManAutomationException(…, TSM_E_ITEMNOTFOUND) : Repository not found. 5.25.1.3 ITcPlcLibraryManager::MoveRepository | ITcPlcLibraryManager::MoveRepository Changes the priority (order) of a repository. Signature HRESULT MoveRepository([in] BSTR bstrRepositoryName, [in] int iNewIndex); Parameter Return value Error codes DanglingAdapterException : Adapter not connected. SysManAutomationException(…, TSM_E_ITEMNOTFOUND) : Repository not found.
5.25.1.4 ITcPlcLibraryManager::RemoveReference | ITcPlcLibraryManager::RemoveReference Removes a library or placeholder reference (transaction). Signature HRESULT RemoveReference([in] BSTR bstrLibName, [in, defaultvalue(L"")] BSTR bstrVersion, [in, defaul tvalue(L"")] BSTR bstrCompany); TE1000 115 Version: 1.7.0 Name Type Description bstrRepositoryName BSTR [in] Name of the target repository. bstrLibPath BSTR [in] Path to the .library file. bOverwrite VARIANT BOOL _ [in] VARIANT TRUE overwrites an existing library. _ Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Name Type Description bstrRepositoryName BSTR [in] Name of the repository.
iNewIndex int [in] New index (priority). Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _