←Select platform

GetCountMetadataXml Method

Summary

Returns the count of existing, missing, or all XML metadata records in a database.

Syntax
C#
VB
C++
public int GetCountMetadataXml( 
   MetadataScope scope 
) 
Public Function GetCountMetadataXml( 
   ByVal scope As MetadataScope 
) As Integer 
public:  
   Int32 GetCountMetadataXml( 
      MetadataScope^ scope 
   ) 

Parameters

scope

An enumeration that specifies if the count is for existing, missing, or all XML metadata records.

Return Value

The count of existing, missing, or all XML metadata records in a database.

Remarks

The database contains :

  • Instance table that stores the SOP Instance UIDs (0008,0018) of all instances
  • MetadataJson table that stores JSON metadata for all instances
  • MetadataXml table that stores XML metadata for all instances

  • If scope is MetadataScope.All then GetCountMetadataXml returns the count of instances in the Instance table.

  • If scope is MetadataScope.Existing then GetCountMetadataXml returns (count of instances in the MetadataXml table).

  • If scope is MetadataScope.Missing then GetCountMetadataXml returns (count of instances in the Instance table) minus (count of instances in the MetadataXml table).

Example

For an example, refer to IStorageDataAccessAgent4.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Storage.DataAccessLayer Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.