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.
Refresh the payment method collection.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub RefreshPaymentMethods
'Usage
Dim instance As PaymentMethodManager
instance.RefreshPaymentMethods()
public void RefreshPaymentMethods()
public:
void RefreshPaymentMethods()
public function RefreshPaymentMethods()
Exceptions
| Exception | Condition |
|---|---|
| TimeoutException | Thrown if sql command timeout occurs. |
Remarks
Method can be used to refresh the payment method collection. This method synchronizes the collection with the database.
In order to perform a RefreshPaymentMethods, the user must have the OrdersViewer 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.