isSubscribedisSubscribed*
*Contents  *Index  *Topic Contents
*Previous Topic: isEqual
*Next Topic: item

isSubscribed

Description

Returns whether the given channel is subscribed to by the client.

Syntax

Boolean = object.isSubscribed(urlToCDF)

ParameterDescription
urlToCDFRequired. Specifies the URL of a Channel Definition Format (CDF) file to be checked for a subscription.

Return Value

Returns true if the channel is subscribed to, or false if no subscription exists for that 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 the urlToCDF, the method will return a scripting error.

Further information is available on Creating Active Channels.

Applies To

external


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.