←Select platform

GetCountMetadataXml Method

Summary

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

Syntax
C#
public int 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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Storage.DataAccessLayer Assembly