PersonalStorage.SplitInto

SplitInto(long, string)

Splits the pst storage into less sized parts.

public void SplitInto(long chunkSize, string path)
ParameterTypeDescription
chunkSizeInt64The approximate size of a chunk in bytes.
pathStringThe folder path where chunks will be created.

Exceptions

exceptioncondition
ArgumentExceptionThrows when the path parameter is null or empty.
ArgumentExceptionThrows when the chunk size is less then the minimum size of pst file.

See Also


SplitInto(IList<MailQuery>, string)

Splits the pst storage based on criteria.

public void SplitInto(IList<MailQuery> criteria, string path)
ParameterTypeDescription
criteriaIList`1The collection of MailQuery that represents criteria of pst splitting.
pathStringThe folder path where chunks will be created.

Exceptions

exceptioncondition
ArgumentExceptionThrows when the path parameter is null or empty.

See Also


SplitInto(long, string, string)

Splits the pst storage into less sized parts.

public void SplitInto(long chunkSize, string partFileNamePrefix, string path)
ParameterTypeDescription
chunkSizeInt64The approximate size of a chunk in bytes.
pathStringThe folder path where chunks will be created.
partFileNamePrefixStringThe prefix to be added to the filename of each part of pst. If provided, the prefix will be added to the beginning of each file name. If not provided (null or empty), the pst parts will be created without a prefix.

Exceptions

exceptioncondition
ArgumentExceptionThrows when the path parameter is null or empty.
ArgumentExceptionThrows when the chunk size is less then the minimum size of pst file.

Remarks

The pst file names are produced using the following template: {prefix}_part{number}.pst - {prefix}: The filename prefix provided by the partFileNamePrefix parameter. If not provided, this part will be omitted. - {number}: The number of the chunk file.

See Also


SplitInto(IList<MailQuery>, string, string)

Splits the pst storage based on criteria.

public void SplitInto(IList<MailQuery> criteria, string partFileNamePrefix, string path)
ParameterTypeDescription
criteriaIList`1The collection of MailQuery that represents criteria of pst splitting.
pathStringThe folder path where chunks will be created.
partFileNamePrefixStringThe prefix to be added to the filename of each part of pst. If provided, the prefix will be added to the beginning of each file name. If not provided (null or empty), the pst parts will be created without a prefix.

Exceptions

exceptioncondition
ArgumentExceptionThrows when the path parameter is null or empty.

Remarks

The pst file names are produced using the following template: {prefix}_part{number}.pst - {prefix}: The filename prefix provided by the partFileNamePrefix parameter. If not provided, this part will be omitted. - {number}: The number of the chunk file.

See Also