QueryChannelProperty MethodQueryChannelProperty Method*
*Contents  *Index  *Topic Contents
*Previous Topic: Login Method
*Next Topic: QueryServerProperty Method

QueryChannelProperty Method

Asynchronously accesses a channel property.

Syntax

object.QueryChannelProperty ChannelPropertyName[, ChannelName] 

Parameters

objectRequired. An object expression that evaluates to an MsChatPr control.
ChannelPropertyNameRequired. A string that contains one of the valid values shown in the following table.
IRCX IRC/IRCX
protocol only    protocols
Account BannedList
ClientData Keyword
ClientGuid MaxMemberCount
CreationTime   MemberCount
HostKey Modes
Lag Name
Language Topic
ObjectId
OnJoin
OnPart
OwnerKey
Rating
ServicePath
Subject
ChannelNameOptional. A string that contains the channel Name. This parameter can be omitted or empty if there is exactly one open channel in the collection. In this case the call concerns that uniquely open channel. Otherwise, ChannelName must be the Name of an existing channel on the server.

Remarks

A successful QueryChannelProperty call results in an OnChannelProperty event in which the ChannelItems parameter exposes all the known channel properties.

Example

'Specifies the name of an existing server channel
MsChatPr1.QueryChannelProperty "Rating", "#MyRoom" 
'There is exactly one channel open
MsChatPr1.QueryChannelProperty "Modes" 

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