[propget] HRESULT DiskThreshold([out, retval] long * pVal);
[propput] HRESULT DiskThreshold([in] long newVal);
This property controls the point at which a received attachment is swapped from being kept in memory, to being streamed to disk. This allows you to tune memory load/performace for your specific application. The threshold is specified in Bytes and defaults 1Mb.
returns the current disk Threshold in bytes.
dim mgr set mgr = CreateObject("pocketSOAP.Attachments") ' switch to disk when the attachment gets to 64k in size. mgr.DiskThreshold = 1024 * 64
Copyright © Simon Fell, 2000-2004. All rights reserved.