ITcPlcLibraryManager::InsertRepository

Registers a new repository at index iIndex (determines the priority).

Signature

HRESULT InsertRepository([in] BSTR bstrName, [in] BSTR rootFolder, [in] int iIndex);

Parameter

Name

Type

Description

bstrName

BSTR

[in] Name of the repository.

rootFolder

BSTR

[in] Root folder of the repository.

iIndex

int

[in] Insertion index (priority).

Return value

Name

Type

Description

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes