LEADTOOLS For .NET Class Library Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PrepareInsertMediaObjectFailedCompositeAttributesCommand Method
See Also 
Leadtools.Medical.Media.DataAccessLayer Namespace > MediaCreationSqlDbDataAccessAgent Class : PrepareInsertMediaObjectFailedCompositeAttributesCommand 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.
referencedInstance
A Leadtools.Dicom.Common.DataTypes.SopInstanceReference object that represents the SOP Instances information which belongs to the failed media object.
attribute
The DICOM Attribute value that failed.
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.
referencedInstance
A Leadtools.Dicom.Common.DataTypes.SopInstanceReference object that represents the SOP Instances information which belongs to the failed media object.
attribute
The DICOM Attribute value that failed.
Initializes a System.Data.Common.DbCommand which inserts information in the "Failed Composite Attributes" table.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub PrepareInsertMediaObjectFailedCompositeAttributesCommand( _
   ByVal insertCommand As DbCommand, _
   ByVal sopInstanceUID As String, _
   ByVal referencedInstance As SopInstanceReference, _
   ByVal attribute As Long _
) 
Visual Basic (Usage)Copy Code
Dim instance As MediaCreationSqlDbDataAccessAgent
Dim insertCommand As DbCommand
Dim sopInstanceUID As String
Dim referencedInstance As SopInstanceReference
Dim attribute As Long
 
instance.PrepareInsertMediaObjectFailedCompositeAttributesCommand(insertCommand, sopInstanceUID, referencedInstance, attribute)
C# 
protected override void PrepareInsertMediaObjectFailedCompositeAttributesCommand( 
   DbCommand insertCommand,
   string sopInstanceUID,
   SopInstanceReference referencedInstance,
   long attribute
)
Managed Extensions for C++ 
protected: void PrepareInsertMediaObjectFailedCompositeAttributesCommand( 
   DbCommand* insertCommand,
   string* sopInstanceUID,
   SopInstanceReference* referencedInstance,
   long attribute
) override 
C++/CLI 
protected:
void PrepareInsertMediaObjectFailedCompositeAttributesCommand( 
   DbCommand^ insertCommand,
   String^ sopInstanceUID,
   SopInstanceReference^ referencedInstance,
   int64 attribute
) 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.
referencedInstance
A Leadtools.Dicom.Common.DataTypes.SopInstanceReference object that represents the SOP Instances information which belongs to the failed media object.
attribute
The DICOM Attribute value that failed.

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