Created Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the creation time of the order.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property Created As DateTime
'Usage
Dim instance As OrderGroup
Dim value As DateTime

value = instance.Created
public DateTime Created { get; }
public:
property DateTime Created {
    DateTime get ();
}
public function get Created () : DateTime

Property Value

Type: System..::.DateTime
A DateTime containing the local time when the order group was created.

Exceptions

Exception Condition
InvalidOperationException

The order group has been disposed, either directly or by conversion from an OrderTemplate to a Basket or a Basket to a PurchaseOrder.

Remarks

Created is set during the initial construction of the current order object. It is not updated during storage loads.

When Created or other DateTime fields are stored or loaded back from the computer that is running SQL Server, the resolution has to be lower than that with TickCount.

Permissions

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace