Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Deletes the current order template instance from the database.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub Delete
'Usage
Dim instance As OrderTemplate
instance.Delete()
public void Delete()
public:
void Delete()
public function Delete()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The current instance has been deleted. No further operations are permitted on deleted objects. |
Remarks
Use this method to purge the OrderTemplate object from the underlying stores.
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.