DaysOfWeek Property

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

Gets or sets the day(s) of the week on which the mail is sent.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Property DaysOfWeek As RecurrenceDays
'Usage
Dim instance As DirectMailRecurrence
Dim value As RecurrenceDays

value = instance.DaysOfWeek

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

Property Value

Type: Microsoft.CommerceServer.Marketing..::.RecurrenceDays
The days of the week that the mail is sent. Default is None.

Remarks

Specifies the days of the week used in a recurrence pattern. This enumeration allows a bitwise combination of its member values.

The returned RecurrenceDays enumeration value is:

  • AllDays - The DirectMail recurs on all days of the week.

  • Friday - The DirectMail recurs on Fridays.

  • Monday - The DirectMail recurs on Mondays.

  • None - Represents the uninitialized state of the enumeration.

  • Saturday - The DirectMail recurs on Saturdays.

  • Sunday - The DirectMail recurs on Sundays.

  • Thursday - The DirectMail recurs on Thursdays.

  • Tuesday - The DirectMail recurs on Tuesdays.

  • Wednesday - The DirectMail recurs on Wednesdays.

  • Weekdays - The DirectMail recurs on Weekdays.

  • Weekend - The DirectMail recurs on Weekends.

This property is only used when DirectMailRecurrenceType is either Weekly or MonthlyDaysOfWeek.

Permissions

See Also

Reference

DirectMailRecurrence Class

DirectMailRecurrence Members

Microsoft.CommerceServer.Marketing Namespace