ExpressionStore.GetAllExprs Method (PIA)
Use this method to retrieve an ADO _Recordset interface to a hierarchical Recordset object that contains all the expressions residing in the expression store.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Targeting
Imports ADODB26Lib ‘ for _Recordset
…
Public Function GetAllExprs() As _Recordset
[C#]
using Microsoft.CommerceServer.Interop.Targeting;
using ADODB26Lib; //For _Recordset
…
public _Recordset GetAllExprs();
Return Values
[Visual Basic .NET] This method returns the _Recordset interface of a Recordset object. If successful, the Recordset object contains the expressions currently residing in the expression store. If unsuccessful, the Recordset object is set to Null.
[C#] This method returns an ADO _Recordset interface of a hierarchical Recordset object that contains all the expressions residing in the expression store.
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
[Visual Basic .NET]
The following table shows the custom COM errors that a COMException can wrap.
Value | Description |
---|---|
&H8110001F | Invalid connection |
&H8110000D | No connection string specified |
[C#]
The following table shows the custom COM errors that COMException can wrap.
Value | Description |
---|---|
0x8110001F | Invalid connection |
0x8110000D | No connection string specified |
Remarks
The Recordset object contains one record for each expression in the expression store. For information on the format and fields of the Recordset object, see Expression Recordset.
Use the GetExpression method to retrieve a single expression from the expression store.
Call the Connect method before calling the GetAllExprs method.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Targeting
Platforms: Windows 2000, Windows Server 2003
Assembly: exprarchlib (in exprarchlib)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.