Perhaps, can't say I remember calling it on a specific version.
However, the error you're posting still seems to indicate there is the 'limit' property in the SharesInfo object. You just copied and pasted it in? Perhaps you are using an older VIPerl SDK version (like 5.1)?