· Home    · License/Purchase    · Online help    · FAQ    · Contact    · Download    · PAD    · AliaWeb   
 Personal finance » On-line Shop » Advertise server » OnLine help

SetAdvInterval Method (AdLib)

The SetAdvInterval method sets advertising interval value.

Applies To

AdServer Object

Syntax

hr = AdServer.SetAdvInterval(nMins)

Parameters

nMins    A integer value containing minutes count.

Return Values

Non-negative numbers indicate success.

Remarks

Statistics data are automaticly recalced every 60 minutes (default). User can change the interval using the SetAdvInterval method, but it's strongly recommended don't change the advertising interval.
If needed, user can call ReInitIntervals method to recalc immediately all statistics data.

Example

Dim AdServer
Set AdServer = Server.CreateObject("AdLib.AdServer")
AdServer.SetAdvInterval(15)
Set AdServer = Nothing


See Also

ReInitIntervals

Copyright © 1998 - 2025 Aliaweb, s.r.o.
All Rights Reserved