LEADTOOLS Medical (Leadtools.Medical.Storage.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
PrepareIsInstanceExistsCommand Method
See Also 
Leadtools.Medical.Storage.DataAccessLayer Namespace > StorageDbDataAccessAgent Class : PrepareIsInstanceExistsCommand Method



command
Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
sopInstanceUID
The SOP Instance UID used for matching in the query.
command
Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
sopInstanceUID
The SOP Instance UID used for matching in the query.
Initializes a System.Data.IDbCommand object to check whether a DICOM Instance information exists.

Syntax

Visual Basic (Declaration) 
Protected MustOverride Sub PrepareIsInstanceExistsCommand( _
   ByVal command As IDbCommand, _
   ByVal sopInstanceUID As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As StorageDbDataAccessAgent
Dim command As IDbCommand
Dim sopInstanceUID As String
 
instance.PrepareIsInstanceExistsCommand(command, sopInstanceUID)
C# 
protected abstract void PrepareIsInstanceExistsCommand( 
   IDbCommand command,
   string sopInstanceUID
)
C++/CLI 
protected:
abstract void PrepareIsInstanceExistsCommand( 
   IDbCommand^ command,
   String^ sopInstanceUID
) 

Parameters

command
Type: System.Data.IDbCommand The database command that will be initialized to execute the query.
sopInstanceUID
The SOP Instance UID used for matching in the query.

Remarks

The query result returned from executing this command should return the same sopInstanceUID value if the DICOM Instance is found; if the DICOM Instance is not found the query won't return any values.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical.Storage.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features