DIAdem Help

Method: RemoveAllReferences for Elements <DataStore>

  • Updated2024-09-12
  • 2 minute(s) read

Method: RemoveAllReferences for Elements <DataStore>

Removes, in a data store, all references of a data element.

Object.RemoveAllReferences
ObjectElements <DataStore>
Object with this method

The following example removes all references of a measurement quantity:

VBScriptPython

 

Dim oMyDataStore, oMyElement, oMyMeaQuantity 
Set oMyDataStore = Navigator.ConnectDataStore("ASAM Browse Settings Example")
Set oMyElement = oMyDataStore.RootElements("MyRootElement").Children("MyFirstChildren").Children("MySecondChildren") 
Set oMyMeaQuantity = oMyElement.Children("MyThirdChildren").Children(1)
Call oMyElement.Children("MyThirdChildren").Children.RemoveAllReferences