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




insertCommand
The database command which will be initialized to insert the new information.
sopInstanceUID
A System.String that represents the SOP Instance UID for the media object which information will be inserted.
failedInstance
A Leadtools.Dicom.Common.DataTypes.MediaCreation.MediaCreationFailedSop object that represents the information of the failed SOP in the media object.
insertCommand
The database command which will be initialized to insert the new information.
sopInstanceUID
A System.String that represents the SOP Instance UID for the media object which information will be inserted.
failedInstance
A Leadtools.Dicom.Common.DataTypes.MediaCreation.MediaCreationFailedSop object that represents the information of the failed SOP in the media object.
Initializes a System.Data.Common.DbCommand which inserts information in the "Failed Composite Instances" table.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub PrepareInsertMediaObjectFailedCompositeInstancesCommand( _
   ByVal insertCommand As DbCommand, _
   ByVal sopInstanceUID As String, _
   ByVal failedInstance As MediaCreationFailedSop _
) 
Visual Basic (Usage)Copy Code
Dim instance As MediaCreationSqlDbDataAccessAgent
Dim insertCommand As DbCommand
Dim sopInstanceUID As String
Dim failedInstance As MediaCreationFailedSop
 
instance.PrepareInsertMediaObjectFailedCompositeInstancesCommand(insertCommand, sopInstanceUID, failedInstance)
C# 
protected override void PrepareInsertMediaObjectFailedCompositeInstancesCommand( 
   DbCommand insertCommand,
   string sopInstanceUID,
   MediaCreationFailedSop failedInstance
)
Managed Extensions for C++ 
protected: void PrepareInsertMediaObjectFailedCompositeInstancesCommand( 
   DbCommand* insertCommand,
   string* sopInstanceUID,
   MediaCreationFailedSop* failedInstance
) override 
C++/CLI 
protected:
void PrepareInsertMediaObjectFailedCompositeInstancesCommand( 
   DbCommand^ insertCommand,
   String^ sopInstanceUID,
   MediaCreationFailedSop^ failedInstance
) override 

Parameters

insertCommand
The database command which will be initialized to insert the new information.
sopInstanceUID
A System.String that represents the SOP Instance UID for the media object which information will be inserted.
failedInstance
A Leadtools.Dicom.Common.DataTypes.MediaCreation.MediaCreationFailedSop object that represents the information of the failed SOP in the media object.

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