As the N.H.L . trading deadline approached yesterday , the Rangers acquired the veteran defenseman Sandis Ozolinsh , who missed three months with Anaheim this season because of a knee injury and his voluntary entry in the league 's substance - and alcohol-abuse program before playing for Latvia in the Olympics .