Partager via


ExpirationDate Property

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

Gets or sets the date on which the gift certificate will expire.

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

Syntax

'Declaration
Public Property ExpirationDate As DateTime
'Usage
Dim instance As GiftCertificatePayment
Dim value As DateTime

value = instance.ExpirationDate

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

Property Value

Type: System..::.DateTime
The date on which the gift certificate will expire.

Remarks

When ExpirationDate or other DateTime fields are marshalled across to COM or loaded back from the computer that is running SQL Server, the resolution at which the comparison is done has to be lower than that with TickCount.

Permissions

See Also

Reference

GiftCertificatePayment Class

GiftCertificatePayment Members

Microsoft.CommerceServer.Runtime.Orders Namespace