Share via


LastRestocked Property

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

Gets or sets the value in the LastRestockedColumn column of the InventorySkusDataSet..::.InventorySkusDataTable table.

Namespace:  Microsoft.CommerceServer.Inventory
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Property LastRestocked As DateTime
'Usage
Dim instance As InventorySkusDataSet..::.InventorySku
Dim value As DateTime

value = instance.LastRestocked

instance.LastRestocked = value
public DateTime LastRestocked { get; set; }
public:
property DateTime LastRestocked {
    DateTime get ();
    void set (DateTime value);
}
public function get LastRestocked () : DateTime
public function set LastRestocked (value : DateTime)

Property Value

Type: System..::.DateTime
Date when the inventory was last restocked. This date will be stored in UTC time

Exceptions

Exception Condition
StrongTypingException

The value for column LastRestocked in table InventorySkus is DBNull.

Remarks

The value in the LastRestockedColumn column of the InventorySkusDataSet..::.InventorySkusDataTable table.

Permissions

See Also

Reference

InventorySkusDataSet..::.InventorySku Class

InventorySkusDataSet..::.InventorySku Members

Microsoft.CommerceServer.Inventory Namespace