Hi @Rupesh_Sinha,
Welcome back to the forum!
You are correct - this method was depreciated in 2020. We do not currently have an alternative command - but details on why this was depreciated, along with our current recommendations can be found in this forum post:
Hope this helps! Cheers