XdsObjects Help file
XdsObjects Namespace / XdsAudit Class / DICOMQuery Method
The XDS domain, including a list of the audit repositories to be used
The Name of the sender
The Name of the receiver
The SOP Class UID queried
The Transfer Syntax used for the query
The raw data sent as the query



DICOMQuery Method
Log that a DICOM query has been performed
Syntax
Public Shared Function DICOMQuery( _
   ByVal Domain As XdsDomain, _
   ByVal Sender As String, _
   ByVal Receiver As String, _
   ByVal SOPClassUID As String, _
   ByVal TransferSyntax As String, _
   ByVal RawQuery() As Byte _
) As Integer
Dim Domain As XdsDomain
Dim Sender As String
Dim Receiver As String
Dim SOPClassUID As String
Dim TransferSyntax As String
Dim RawQuery() As Byte
Dim value As Integer
 
value = XdsAudit.DICOMQuery(Domain, Sender, Receiver, SOPClassUID, TransferSyntax, RawQuery)

Parameters

Domain
The XDS domain, including a list of the audit repositories to be used
Sender
The Name of the sender
Receiver
The Name of the receiver
SOPClassUID
The SOP Class UID queried
TransferSyntax
The Transfer Syntax used for the query
RawQuery
The raw data sent as the query

Return Value

The number of audit repositories to which the message was successfully sent
Remarks

For UDP repositories, there is no confirmation that the message was successfully received

Ensure that the Domain is fully set up before making this call.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also