PersonalStorage.SplitInto
SplitInto(long, string)
Splits the pst storage into less sized parts.
public void SplitInto(long chunkSize, string path)
Parameter | Type | Description |
---|
chunkSize | Int64 | The approximate size of a chunk in bytes. |
path | String | The folder path where chunks will be created. |
Exceptions
exception | condition |
---|
ArgumentException | Throws when the path parameter is null or empty. |
ArgumentException | Throws 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)
Parameter | Type | Description |
---|
criteria | IList`1 | The collection of MailQuery that represents criteria of pst splitting. |
path | String | The folder path where chunks will be created. |
Exceptions
exception | condition |
---|
ArgumentException | Throws 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)
Parameter | Type | Description |
---|
chunkSize | Int64 | The approximate size of a chunk in bytes. |
path | String | The folder path where chunks will be created. |
partFileNamePrefix | String | The 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
exception | condition |
---|
ArgumentException | Throws when the path parameter is null or empty. |
ArgumentException | Throws when the chunk size is less then the minimum size of pst file. |
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)
Parameter | Type | Description |
---|
criteria | IList`1 | The collection of MailQuery that represents criteria of pst splitting. |
path | String | The folder path where chunks will be created. |
partFileNamePrefix | String | The 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
exception | condition |
---|
ArgumentException | Throws when the path parameter is null or empty. |
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