PersonalStorageFromFile Method (String, Boolean)

Load PST from file.

Namespace:  Aspose.Email.Storage.Pst
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public static PersonalStorage FromFile(
	string fileName,
	bool writable
)

Parameters

fileName
Type: SystemString
Name of .pst file.
writable
Type: SystemBoolean
if set to true then the the pst file will support writing, otherwise it will be opened in read-only mode.

Return Value

Type: PersonalStorage
A PersonalStorage object that represents the current PST.
See Also