IsSubscribed

HTML (DHTML)

IsSubscribed Method

Internet Development Index

Retrieves a value indicating whether the client subscribes to the given channel.

Syntax

bSubscribed = external.IsSubscribed(sURLToCDF)

Parameters

sURLToCDF Required. String that specifies the URL of a Channel Definition Format (CDF) file to be checked for a subscription.

Return Value

Boolean that receives one of the following possible values.

trueThe client subscribes to the channel.
falseNo subscription exists for the CDF file.

Remarks

For security purposes, if this method is used in an HTML page that is not in the same secondary domain specified in sURLToCDF , the method returns a scripting error.

For more information about Microsoft® Active Channel™, see Introduction to Active Channel Technology.

This method is not supported in Introduction to HTML Applications (HTAs).

Standards Information

There is no public standard that applies to this method.

Applies To

external