Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Saves the PaymentMethod objects to the DataBase.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub Save
'Usage
Dim instance As PaymentMethodManager
instance.Save()
public void Save()
public:
void Save()
public function Save()
Exceptions
| Exception | Condition |
|---|---|
| PaymentMethodNotSavedException | The Optimistic Concurrency check fails. |
| TimeoutException | Thrown if sql command timeout occurs. |
Remarks
Updates the PaymentMethod objects. It inserts the newly added records, updates the modified records, and deletes the deleted records in the dataset.
In order to perform a Save, the user must have the OrdersConfigurationEditor permissions. See Orders System Roles [CS06] for more information about the specific roles in the Order System.
Some order system APIs support distributed transactions. If a cookie with a valid transaction is found the order system enlists as part of that transaction. If a valid transaction is not found the order system initiates a new transaction.
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.