ITcPlcLibraryManager::InstallLibrary
Installs a .library file into a registered repository.
Signature
HRESULT InstallLibrary([in] BSTR bstrRepositoryName, [in] BSTR bstrLibPath, [in] VARIANT_BOOL bOverwrite);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
bstrRepositoryName |
BSTR |
[in] Name of the target repository. |
|
bstrLibPath |
BSTR |
[in] Path to the |
|
bOverwrite |
VARIANT_BOOL |
[in] |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
(HRESULT) |
HRESULT |
|
Error codes
-
DanglingAdapterException: Adapter not connected. -
SysManAutomationException(…, TSM_E_ITEMNOTFOUND): Repository not found.