OrderContext.GetPurchaseOrder (Guid, Guid) Method (BCL)
Use this method to retrieve an existing purchase order instance.
Definition
[Visual Basic .NET]
Public Function GetPurchaseOrder( _ByValuserID As System.Guid, _
ByValorderID As System.Guid _
) As PurchaseOrder
[C#]
public PurchaseOrder GetPurchaseOrder(System.GuiduserID,
System.GuidorderID);
Parameters
[Visual Basic .NET]
- userID
The ID of the user owning the basket. - orderID
The order ID of the purchase order.
[C#]
- userID
The ID of the user owning the basket. - orderID
The order ID of the purchase order.
Return Value
The purchase order instance, if one is found. Null, otherwise.
Requirements
Namespace: Microsoft.CommerceServer.Runtime.Orders
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Runtime.dll
See Also
Example Code for the Microsoft.CommerceServer.Runtime.Orders Namespace
Copyright © 2005 Microsoft Corporation.
All rights reserved.