PersonalStorage.SaveAs

SaveAs(string, FileFormat)

Saves the current object to a specified file format in a different file.

public void SaveAs(string fileName, FileFormat format)
ParameterTypeDescription
fileNameStringThe name of the file to be saved.
formatFileFormatThe FileFormat is to be used when saving a file.

Remarks

It is used for the fast OST to PST conversion. The method doesn’t support conversion of OST created by MS Office 2013 and later versions. To convert an OST of later version, create a new PST and use the MergeWith method.

See Also


SaveAs(Stream, FileFormat)

Saves the current object to a specified file format in a stream.

public void SaveAs(Stream stream, FileFormat format)
ParameterTypeDescription
streamStreamThe stream to be saved.
formatFileFormatThe FileFormat is to be used.

Remarks

It is used for the fast OST to PST conversion. The method doesn’t support conversion of OST created by MS Office 2013 and later versions. To convert an OST of later version, create a new PST and use the MergeWith method.

See Also