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




deleteCommand
The database command which will be initialized to delete the media objects.
mediaSopInstanceUID
An System.Array of strings that represent the SOP Instance UIDs for the media objects to be deleted.
deleteCommand
The database command which will be initialized to delete the media objects.
mediaSopInstanceUID
An System.Array of strings that represent the SOP Instance UIDs for the media objects to be deleted.
Initializes a System.Data.Common.DbCommand which deletes media objets.

Syntax

Visual Basic (Declaration) 
Protected MustOverride Sub PrepareDeleteMediaObjectsCommand( _
   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.PrepareDeleteMediaObjectsCommand(deleteCommand, mediaSopInstanceUID)
C# 
protected abstract void PrepareDeleteMediaObjectsCommand( 
   DbCommand deleteCommand,
   string[] mediaSopInstanceUID
)
Managed Extensions for C++ 
protected: abstract void PrepareDeleteMediaObjectsCommand( 
   DbCommand* deleteCommand,
   string*[]* mediaSopInstanceUID
) 
C++/CLI 
protected:
abstract void PrepareDeleteMediaObjectsCommand( 
   DbCommand^ deleteCommand,
   array<String^>^ mediaSopInstanceUID
) 

Parameters

deleteCommand
The database command which will be initialized to delete the media objects.
mediaSopInstanceUID
An System.Array of strings that represent the SOP Instance UIDs for the media objects to 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