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 > MediaCreationSqlDbDataAccessAgent 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) 
Overrides Protected Sub PrepareDeleteMediaObjectsCommand( _
   ByVal deleteCommand As DbCommand, _
   ByVal mediaSopInstanceUID() As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As MediaCreationSqlDbDataAccessAgent
Dim deleteCommand As DbCommand
Dim mediaSopInstanceUID() As String
 
instance.PrepareDeleteMediaObjectsCommand(deleteCommand, mediaSopInstanceUID)
C# 
protected override void PrepareDeleteMediaObjectsCommand( 
   DbCommand deleteCommand,
   string[] mediaSopInstanceUID
)
Managed Extensions for C++ 
protected: void PrepareDeleteMediaObjectsCommand( 
   DbCommand* deleteCommand,
   string*[]* mediaSopInstanceUID
) override 
C++/CLI 
protected:
void PrepareDeleteMediaObjectsCommand( 
   DbCommand^ deleteCommand,
   array<String^>^ mediaSopInstanceUID
) override 

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