ITcPlcLibraryManager::ScanLibraries

Returns a collection of all registered libraries in all repositories.

HRESULT ScanLibraries(ITcPlcLibraries** ppEnumLibraries);

Parameters

ppEnumLibraries

[out, retval] Returns object of type ITcPlcLibraries, which is a collection of ITcPlcLibrary objects.

Comments

This method provides the same functionality as importing the following XML structure via ConsumeXml() on the tree node "Library Manager":

<TreeItem>
<PlcLibDef>
    <ScanLibraries>
     <Active>true</Active>
    </ScanLibraries>
</PlcLibDef>
</TreeItem>