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 > MediaCreationSqlDbDataAccessAgent Class : PrepareDeleteMediaPathCommand Method




deleteCommand
The database command which will be initialized to delete the media locations.
mediaSopInstanceUID
An System.Array of strings that represent the SOP Instance UIDs for the media objects which their location will be deleted.
deleteCommand
The database command which will be initialized to delete the media locations.
mediaSopInstanceUID
An System.Array of strings that represent 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) 
Overrides Protected Sub PrepareDeleteMediaPathCommand( _
   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.PrepareDeleteMediaPathCommand(deleteCommand, mediaSopInstanceUID)
C# 
protected override void PrepareDeleteMediaPathCommand( 
   DbCommand deleteCommand,
   string[] mediaSopInstanceUID
)
Managed Extensions for C++ 
protected: void PrepareDeleteMediaPathCommand( 
   DbCommand* deleteCommand,
   string*[]* mediaSopInstanceUID
) override 
C++/CLI 
protected:
void PrepareDeleteMediaPathCommand( 
   DbCommand^ deleteCommand,
   array<String^>^ mediaSopInstanceUID
) override 

Parameters

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