NumberOfEventsScheduled Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the number of events that are scheduled for this ad.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property NumberOfEventsScheduled As Integer
'Usage
Dim instance As Advertisement
Dim value As Integer
value = instance.NumberOfEventsScheduled
instance.NumberOfEventsScheduled = value
public int NumberOfEventsScheduled { get; set; }
public:
property int NumberOfEventsScheduled {
int get ();
void set (int value);
}
public function get NumberOfEventsScheduled () : int
public function set NumberOfEventsScheduled (value : int)
Property Value
Type: System..::.Int32
The number of events that are scheduled for this ad. Default is 0.
Exceptions
Exception | Condition |
---|---|
MinimumValueValidationException | The value was less than 0. |
EntityStateException | Thrown by this property if this object has a CurrentEntityState of HouseAd. |
Remarks
Specifies how many events are scheduled for this ad.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.