    

 ## On this page

  

 

 # DataHistory

 Last update: 30.07.2026 

constructor(pstrm: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

Connects this Java object to the specified session of ModelCenter

#### Parameters

pstrmA pointer to the COM interface. This constructor will add a COM reference. The reference will be removed when this object is finalized (or closed)constructor(pstrm: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), addRef: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))

Internal use only