Partager via


GetBasketAsDataSet Method

Returns the DataSet for the Basket with the specified Order Group identifier.

Namespace:  Microsoft.CommerceServer.Orders.WebService
Assembly:  Microsoft.CommerceServer.Orders.DataManagement (in Microsoft.CommerceServer.Orders.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function GetBasketAsDataSet ( _
    orderGroupId As Guid _
) As DataSet
'Usage
Dim instance As OrdersWebService
Dim orderGroupId As Guid
Dim returnValue As DataSet

returnValue = instance.GetBasketAsDataSet(orderGroupId)
[WebMethodAttribute]
public virtual DataSet GetBasketAsDataSet(
    Guid orderGroupId
)
[WebMethodAttribute]
public:
virtual DataSet^ GetBasketAsDataSet(
    Guid orderGroupId
)
public function GetBasketAsDataSet(
    orderGroupId : Guid
) : DataSet

Parameters

  • orderGroupId
    Type: System..::.Guid
    The order group identifier to search for.

Return Value

Type: System.Data..::.DataSet
The DataSet containing the baskets with the specified order group identifier.

Remarks

Returns a DataSet for the basket with the specified order group identifier.

In order to perform a GetBasketAsDataSet, the user must have the OrdersViewer permissions. See Orders System Roles [CS06] for more information about the specific roles in the Order System.

Permissions

See Also

Reference

OrdersWebService Class

OrdersWebService Members

Microsoft.CommerceServer.Orders.WebService Namespace