LEADTOOLS For .NET Class Library Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PrepareDeleteMediaPathCommand Method
See Also 
Leadtools.Medical.Media.DataAccessLayer Namespace > MediaCreationDbDataAccessAgent Class : PrepareDeleteMediaPathCommand Method




deleteCommand
Type: System.Data.Common.DbCommand The database command which will be initialized to delete the media locations.
mediaSopInstanceUID
Type: Array of System.String The SOP Instance UIDs for the media objects which their location will be deleted.
deleteCommand
Type: System.Data.Common.DbCommand The database command which will be initialized to delete the media locations.
mediaSopInstanceUID
Type: Array of System.String The SOP Instance UIDs for the media objects which their location will be deleted.
Initializes a System.Data.Common.DbCommand which deletes media location.

Syntax

Visual Basic (Declaration) 
Protected MustOverride Sub PrepareDeleteMediaPathCommand( _
   ByVal deleteCommand As DbCommand, _
   ByVal mediaSopInstanceUID() As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As MediaCreationDbDataAccessAgent
Dim deleteCommand As DbCommand
Dim mediaSopInstanceUID() As String
 
instance.PrepareDeleteMediaPathCommand(deleteCommand, mediaSopInstanceUID)
C# 
protected abstract void PrepareDeleteMediaPathCommand( 
   DbCommand deleteCommand,
   string[] mediaSopInstanceUID
)
Managed Extensions for C++ 
protected: abstract void PrepareDeleteMediaPathCommand( 
   DbCommand* deleteCommand,
   string*[]* mediaSopInstanceUID
) 
C++/CLI 
protected:
abstract void PrepareDeleteMediaPathCommand( 
   DbCommand^ deleteCommand,
   array<String^>^ mediaSopInstanceUID
) 

Parameters

deleteCommand
Type: System.Data.Common.DbCommand The database command which will be initialized to delete the media locations.
mediaSopInstanceUID
Type: Array of System.String The SOP Instance UIDs for the media objects which their location will be deleted.

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