API | ITcPlcDeclaration Parameter Return value Error codes DanglingAdapterException : Adapter not connected. ArgumentException : The file already exists, has an invalid extension (≠ .library / .compiled- library ), or bEncrypt is specified but encryption is not available. 5.28.7 ITcPlcIECProject7 | ITcPlcIECProject7 Inherits from: ITcPlcIECProject6 Export the static analysis results as SARIF. Methods 5.28.7.1 ITcPlcIECProject7::ExportToSarif | ITcPlcIECProject7::ExportToSarif Exports the results of the static analysis as a SARIF file ( --sariffile= ). Signature HRESULT ExportToSarif([in] BSTR bstrFilename); Parameter Return value Error codes ArgumentException :
file extension ≠ .sarif.json *(interop mapping)*. 5.29 ITcPlcDeclaration | ITcPlcDeclaration ITcPlcDeclaration provides access to the declaration section of POUs and variable worksheets. TE1000 127 Version: 1.7.0 Name Type Description bstrLibraryPath BSTR [in] Full path to the library to be created. bEncrypt VARIANT BOOL _ [in, defaultvalue(0)] VARIANT TRUE encrypts the library _ (only if software protection is enabled). binstall VARIANT BOOL _ [in, defaultvalue(0)] VARIANT TRUE installs the library into _ the active profile after it is created. Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code.
_ Method Description ExportToSarif Exports static analysis results as SARIF. Name Type Description bstrFilename BSTR [in] Target path of the .sarif.json file. Name Type Description (HRESULT) HRESULT S OK if successful, otherwise an error code. _