ITcPlcLibraryManager::RemoveRepository
Removes or unregisters a repository.
Signature
HRESULT RemoveRepository([in] BSTR bstrName);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
bstrName |
BSTR |
[in] Name of the repository. |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
(HRESULT) |
HRESULT |
|
Error codes
-
DanglingAdapterException: Adapter not connected. -
SysManAutomationException(…, TSM_E_ITEMNOTFOUND): Repository not found.