Okay, I found the solution.
Because ExportToDisk will not write to anything but a local disk resource, I found the UNC path to my Intranet storage folder. That allowed me to use ExportToDisk to write to my C:\ and then use the integrated Windows I/O abilities to copy it to the UNC path. Below is a sample of the code I used.
Dim strExportPath As String = "\\servername\folder parent\target folder\"
Dim strExportFile As String = "DocumentName.pdf"
Dim localCopy As String = "C:\" & strExportFile
Dim remoteCopy As String = strExportPath & strExportFile
objReport.ExportToDisk(ExportFormatType.PortableDocFormat, localCopy)
FileIO.FileSystem.CopyFile(localCopy, remoteCopy,
False)
FileIO.FileSystem.DeleteFile(localCopy)
Edited by tgreenstreet - 29 Nov 2007 at 11:19am