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

S_OK if successful, otherwise an error code.

Error codes