다음을 통해 공유


Delete Method

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

See Also

Reference

OrderTemplate Class

OrderTemplate Members

Microsoft.CommerceServer.Runtime.Orders Namespace