IsRunning Method (AdLib)
Indicates if RPC communication with a advertising server is established.
Applies To
AdClient Object
Syntax
boolean = AdClient.IsRunning()
Return Values
Returns nonzero if RPC communication with a advertising server is established.
Remarks
The IsRunning method is used to determine if communication with RPC server
is established and server is ready to accept requests from a client.
Example
Dim HTML, AdClient, BannerTypeId
Set AdClient = Server.CreateObject("AdLib.AdClient")
If AdClient.IsRunning() Then
HTML = AdClient.GetBanner("default_zone", BannerTypeId)
End If
Set AdClient = Nothing
See Also
GetBanner, GetBannerEx, GetBannerPageCodeName
|