GetShippingMethods Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Returns the DataSet containing all the shipping methods irrespective of whether it is active or not.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function GetShippingMethods As DataSet
'Usage
Dim instance As OrdersWebService
Dim returnValue As DataSet

returnValue = instance.GetShippingMethods()
[WebMethodAttribute]
public virtual DataSet GetShippingMethods()
[WebMethodAttribute]
public:
virtual DataSet^ GetShippingMethods()
public function GetShippingMethods() : DataSet

Return Value

Type: System.Data..::.DataSet
A DataSet of all configured shipping methods.

Remarks

The DataSet contains one table named ShippingMethods with columns same as in the paymentconfig table in the database. Also it will contain a column "State". The value for this field for all the records will be set to "0". "0" means untouched. "1" means modified. "2" means newly added. "3" means deleted.

Permissions

See Also

Reference

OrdersWebService Class

OrdersWebService Members

Microsoft.CommerceServer.Orders.WebService Namespace