DoGetPurchaseOrderAsDataSet Method
Returns a DataSet containing the purchase order for the specified order group identifier.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Protected Function DoGetPurchaseOrderAsDataSet ( _
orderGroupId As Guid _
) As DataSet
'Usage
Dim orderGroupId As Guid
Dim returnValue As DataSet
returnValue = Me.DoGetPurchaseOrderAsDataSet(orderGroupId)
protected DataSet DoGetPurchaseOrderAsDataSet(
Guid orderGroupId
)
protected:
DataSet^ DoGetPurchaseOrderAsDataSet(
Guid orderGroupId
)
protected function DoGetPurchaseOrderAsDataSet(
orderGroupId : Guid
) : DataSet
Parameters
- orderGroupId
Type: System..::.Guid
The order group identifier used to find the purchase order.
Return Value
Type: System.Data..::.DataSet
A DataSet containing the desired purchase order.
Remarks
If the purchase order is not found in the database, nullNothingnullptra null reference (Nothing in Visual Basic) is returned.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.