共用方式為


DoGetShippingMethods Method

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

Returns the DataSet containing all shipping methods whether active or not.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
Protected Function DoGetShippingMethods As DataSet
'Usage
Dim returnValue As DataSet

returnValue = Me.DoGetShippingMethods()
protected DataSet DoGetShippingMethods()
protected:
DataSet^ DoGetShippingMethods()
protected function DoGetShippingMethods() : DataSet

Return Value

Type: System.Data..::.DataSet
The DataSet containing all shipping methods.

Remarks

The DataSet contains one table named ShippingMethods with columns from the paymentconfig table. A column titled State will contain 0 for all records. Possible values that the State column can be set to are:

  • 0 means untouched.

  • 1 means modified.

  • 2 means newly added.

  • 3 means deleted.

Permissions

See Also

Reference

OrderServices Class

OrderServices Members

Microsoft.CommerceServer.Orders Namespace