←Select platform

GetCountMetadataJson Method

Summary

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

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

Parameters

scope

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

Return Value

The count of existing, missing, or all JSON 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 GetCountMetadataJson returns the count of instances in the Instance table.

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

  • If scope is MetadataScope.Missing then GetCountMetadataJson returns (count of instances in the Instance table) minus (count of instances in the MetadataJson 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.