Partager via


IRowsetCreatorImpl::SetSite

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IRowsetCreatorImpl::SetSite.

Sets the site that contains the rowset object. For more information, see IObjectWithSite::SetSite.

Syntax

  
      STDMETHOD( SetSite )(  
   IUnknown* pCreator   
);  

Parameters

pCreator
[in] Pointer to the IUnknown interface pointer of the site managing the rowset object.

Return Value

A standard HRESULT.

Remarks

In addition, IRowsetCreatorImpl::SetSite enables the OLE DB DBPROPCANSCROLLBACKWARDS DBPROPCANFETCHBACKWARDS properties.

Requirements

Header: atldb.h

See Also

IRowsetCreatorImpl Class