Opening layer package created from ArcMap

Discussion created by mrivest on Dec 4, 2011
I created a layer package from ArcMap with the option of only packaging the schema of the database.  When I try to open it using the LayerFile.Open() method, it generates an error and do not open the layer package.  Why?