RetrieveFile Method

Summary
Called by the PACSFramework to retrieve the file specified by  row from the external store to the local store
Syntax
C#
C++/CLI
public Exception RetrieveFile( 
   DataRow row, 
   string outFile 
) 
Exception^ RetrieveFile(  
   DataRow^ row, 
   String^ outFile 
)  

Parameters

row
A DataRow containing the external store token

outFile
The fully specified local store location where the external store file should be copied

Return Value

null if successful; otherwise return an appropriate exception. Note that the exception is returned and not thrown.

Remarks row is a DataRow that represents a row of the 'Instance' table.  row will be passed by the framework, and the corresponding external store token can be extracted by calling:

string token = Leadtools.Medical.Storage.DataAccessLayer.RegisteredDataRows.InstanceInfo.StoreToken(row);

For a demo, refer to Leadtools.Medical.ExternalStore.Sample.Addin located here: <INSTALLDIR>\Examples\Medical\DotNet\SampleAddIns\Medical.ExternalStore.Sample.Addin.

Requirements

Target Platforms

See Also

Reference

ICrud Interface

ICrud Members

Help Version 22.0.2023.2.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.