Applies to: SharePoint Foundation 2010
An ActiveX control that enables a user to create or open a database that contains data from a list in Microsoft SharePoint Foundation.
This control is defined in OWSSUPP.dll, a dynamic-link library (DLL) that is installed in the %ProgramFiles%\Microsoft Office\Office14\ directory on the client computer during Microsoft Office 2010 Setup.
var obj = new ActiveXObject('SharePoint.ExportDatabase');
In Microsoft Visual Basic Scripting Edition (VBScript), use the following to instantiate the control:
Set obj = CreateObject('SharePoint.ExportDatabase')
In both cases, the argument is the ProgId of the control, SharePoint.ExportDatabase. For more information about ProgIds, see <ProgID> Key.
In SharePoint Foundation, when a page that contains a view of a list opens, the _ExportToDatabase function is called, which is defined in the OWS.js file. This function creates the control on the page and exports the list.
You can create a custom control for opening a database that contains data from a SharePoint List if it has the same ProgID (SharePoint.ExportDatabase), uses the same method or property names, and provides the same functionality as described in this reference.