Scope Property

The Scope property is an integer used when building the <LOGTARGET></LOGTARGET> element upon invocation of the GetCDFString method. If this property is not empty, the SCOPE attribute is added to the element, and the string is inserted as the value.

Type

String (VT_BSTR)

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.SCOPE = "ONLINE"
wscript.echo LogTarget.GetCDFString

outputs

<LOGTARGET HREF="http://somecompany.com/channels/logging" METHOD="PUT" SCOPE="ONLINE">
</LOGTARGET>

© 1997-1998 Microsoft Corporation. All rights reserved.