Skip to content

Latest commit

 

History

History
100 lines (85 loc) · 2.88 KB

File metadata and controls

100 lines (85 loc) · 2.88 KB
title IDBSchemaRowsetImpl::GetRowset | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
ATL::IDBSchemaRowsetImpl::GetRowset
ATL.IDBSchemaRowsetImpl.GetRowset
IDBSchemaRowsetImpl<SessionClass>::GetRowset
IDBSchemaRowsetImpl.GetRowset
IDBSchemaRowsetImpl::GetRowset
ATL::IDBSchemaRowsetImpl<SessionClass>::GetRowset
GetRowset
dev_langs
C++
helpviewer_keywords
GetRowset method
ms.assetid 3ae28c22-e186-4a15-8591-b0192e784a6f
caps.latest.revision 9
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

IDBSchemaRowsetImpl::GetRowset

Returns a schema rowset.

Syntax

  
      STDMETHOD (GetRowset)(  
   IUnknown *pUnkOuter,  
   REFGUID rguidSchema,  
   ULONG cRestrictions,  
   const VARIANT rgRestrictions[],  
   REFIID riid,  
   ULONG cPropertySets,  
   DBPROPSET rgPropertySets[],  
   IUnknown **ppRowset   
);  

Parameters

pUnkOuter
[in] An outer IUnknown when aggregating; otherwise NULL.

rguidSchema
[in] A reference to the requested schema rowset GUID (for example, DBSCHEMA_TABLES).

cRestrictions
[in] A count of restrictions to be applied to the rowset.

rgRestrictions
[in] An array of cRestrictionsVARIANTs that represent the restrictions.

riid
[in] The IID to request of the newly created schema rowset.

cPropertySets
[in] The number of property sets to set.

rgPropertySets
[in/out] An array of DBPROPSET structures to set on the newly created schema rowset.

ppRowset
[out] A pointer to the requested interface on the newly created schema rowset.

Remarks

This method requires the user to have a schema map in the session class. Using the schema map information, GetRowset creates a given rowset object if the rguidSchema parameter is equal to one of the map entries GUIDs. See SCHEMA_ENTRY for a description of the map entry.

See IDBSchemaRowset::GetRowset in the Windows SDK.

Requirements

Header: atldb.h

See Also

IDBSchemaRowsetImpl Class
IDBSchemaRowsetImpl Class Members
IDBSchemaRowsetImpl::GetSchemas
Schema Rowset Classes and Typedef Classes