PurgeTime Property

The PurgeTime property is an integer used when building the <LOGTARGET></LOGTARGET> element upon invocation of the GetCDFString method. If this property is not empty, the <PURGETIME></PURGETIME> element is added, with the integer value becoming the contents of the VALUE attribute.

Type

Integer (VT_I4)

Default

Null

Example

' Using Windows Scripting Host and VBScript
Set LogTarget = CreateObject("Push.LogTarget")
LogTarget.HREF="http://somecompany.com/channels/logging"
LogTarget.METHOD = "PUT"
LogTarget.PURGETIME = 8;
wscript.echo LogTarget.GetCDFString

outputs

<LOGTARGET HREF="http://somecompany.com/channels/logging" METHOD="PUT">
  <PURGETIME HOUR = "8"/>
</LOGTARGET>

© 1997-1998 Microsoft Corporation. All rights reserved.