Purpose
This method returns the version number of SharePoint Foundation instances running at site for the specified URL.
Syntax
SharePointVersion(bstrUrl)
Required Parameters
bstrUrl
The URL of site to check.