Product3.GetProductProperties Property (PIA)
The GetProductProperties property is a read-only Recordset that contains the properties of this Product object.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Catalog
Imports ADODB26Lib ' for _Recordset
…
Public ReadOnly Property GetProductProperties As _Recordset
[C#]
using Microsoft.CommerceServer.Interop.Catalog;
using ADODB26Lib; //For _Recordset
…
public _Recordset GetProductProperties {get;}
Property Value
A _Recordset interface to an ADODB26Lib._Recordset object containing the properties of this product.
Exceptions
This property may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
The following table shows the custom COM errors that a COMException can wrap.
Constant | Value | Description |
---|---|---|
E_CAT_INVALID_RS_POINTER | [C#] 0x889800B7 [Visual Basic .NET] &H889800B7 |
The recordset pointer that you specified is invalid |
E_CAT_PRODUCT_DOESNT_EXIST | [C#] 0x8898001E [Visual Basic .NET] &H8898001E |
The product you specified does not exist. |
Remarks
The GetProductProperties parameter contains valid data only if the property was accessed successfully.
The returned single-row Recordset contains all the fields defined for the product definition as well as all the common fields in the CatalogProduct Recordset. The recordset also contains the ProductID property of the catalog if the ProductID property is not a part of the product definition.
The Recordset returned is updateable, but disconnected. To modify the product properties, pass this Recordset to the SetProductProperties method.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Catalog
Platforms: Windows 2000, Windows Server 2003
Assembly: Cataloglib (in Cataloglib.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.