ITcPlcLibraryManager::MoveRepository
Changes the priority (order) of a repository.
Signature
HRESULT MoveRepository([in] BSTR bstrRepositoryName, [in] int iNewIndex);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
bstrRepositoryName |
BSTR |
[in] Name of the repository. |
|
iNewIndex |
int |
[in] New index (priority). |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
(HRESULT) |
HRESULT |
|
Error codes
-
DanglingAdapterException: Adapter not connected. -
SysManAutomationException(…, TSM_E_ITEMNOTFOUND): Repository not found.