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
|