The Method property is a string used when building the <LOGTARGET></LOGTARGET> element upon invocation of the GetCDFString method. If this property is not empty, the METHOD attribute is added to the element, and the string is inserted as the value.
Type
String (VT_BSTR)
Default
"POST"
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
this will produce the following string:
<LOGTARGET HREF="http://somecompany.com/channels/logging" METHOD="PUT">
<PURGETIME HOUR = "8"/>
</LOGTARGET>