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
object Required. An object expression that evaluates to an MsChatPr control. ChannelPropertyName Required. 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 ChannelName Optional. 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"
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.