> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface IHarnessSaveOperations

Namespace: [Phoenix.ComponentAPI](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI)\
Assembly: Phoenix.ComponentAPI.dll

Common save operations used from both
`Phoenix.ComponentAPI.IHarnessBuilderUISession` and
`Phoenix.ComponentAPI.IHarnessLocalEditSession`.

```csharp theme={null}
public interface IHarnessSaveOperations

```

## Methods

[SaveAsLocalFilesAsync(string)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.IHarnessSaveOperations.SaveAsLocalFilesAsync.md#saveaslocalfilesasync-string)

Saves the current pacz to an uncompressed folder. The metadata is saved to
component.pacj. Associated files are copied to the folder. The
`Phoenix.PaczAPI.IPacz.SourceUri` is updated to reflect the new location.

[SaveAsLocalPaczAsync(string)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.IHarnessSaveOperations.SaveAsLocalPaczAsync.md#saveaslocalpaczasync-string)

Gets the Runner associated with this builder.
Saves the current pacz to a compressed .pacz file. The metadata and extracted
files are saved into the compressed .pacz. The `Phoenix.PaczAPI.IPacz.SourceUri`
is updated to reflect the new location.

[SaveAsync()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.IHarnessSaveOperations.SaveAsync.md)

Save the Pacz to `Phoenix.PaczAPI.IPacz.SourceUri`. If the source points to
a compressed .Pacz, the metadata and extracted files are stored into the
file. If the source points at an uncompressed folder, then the current
metadata is saved to the component.pacj file.

[UpdateSourceAsync(IPacz, string, bool)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.IHarnessSaveOperations.UpdateSourceAsync.md)

Generally meant to be used only internally by Phoenix Integration. Allows the
out of process host executable to reuse the directory already extracted by the OEM
process. Changes the value of `Phoenix.PaczAPI.IReadOnlyExtractedPacz.PaczSource`,
`Phoenix.PaczAPI.IReadOnlyExtractedPacz.ExtractionFolder`, and whether the extraction
folder should be deleted on dispose.
This also ReReads the Config from the new ExtractionFolder
