ITcArchivePersist::SaveAsArchive

Saves the currently open Visual Studio solution, including all TwinCAT projects, to a ZIP file.

Signature

HRESULT SaveAsArchive(BSTR bstrPath);

Parameter

Name

Type

Description

bstrPath

BSTR

[in] Full file path of the target archive.

Return value

Name

Type

Description

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.