SaveShippingMethods Method
Updates the ShippingMethod objects.
Namespace: Microsoft.CommerceServer.Orders.WebService
Assembly: Microsoft.CommerceServer.Orders.DataManagement (in Microsoft.CommerceServer.Orders.DataManagement.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Overridable Sub SaveShippingMethods ( _
shippingMethods As DataSet _
)
'Usage
Dim instance As OrdersWebService
Dim shippingMethods As DataSet
instance.SaveShippingMethods(shippingMethods)
[WebMethodAttribute]
public virtual void SaveShippingMethods(
DataSet shippingMethods
)
[WebMethodAttribute]
public:
virtual void SaveShippingMethods(
DataSet^ shippingMethods
)
public function SaveShippingMethods(
shippingMethods : DataSet
)
Parameters
- shippingMethods
Type: System.Data..::.DataSet
A collection containing all the shipping methods.
Remarks
This method inserts the newly added ShippingMethod objects (state=2), updates the modified ShippingMethod objects (state=1), and deletes the deleted ShippingMethod objects (state=3).
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.