ChangeChannelProperty MethodChangeChannelProperty Method*
*Contents  *Index  *Topic Contents
*Previous Topic: BanMembers Method
*Next Topic: ChangeMemberProperty Method

ChangeChannelProperty Method

Asynchronously modifies a channel property.

Syntax

object.ChangeChannelProperty ChannelPropertyName, NewChannelProperty 

Parameters

objectRequired. An object expression that evaluates to a Channel object.
ChannelPropertyNameRequired. A string expression. The following table shows the valid channel property names.
IRCX IRC/IRCX
protocol only    protocols
Account Keyword
ClientData MaxMemberCount
ClientGuid    Modes
HostKey Topic
Language
Lag
OnJoin
OnPart
OwnerKey
Rating
ServicePath
Subject
NewChannelPropertyRequired. A variant, the type of which depends on the new channel property.

Remarks

A successful call results in an OnChannelPropertyChanged event.

Examples

chanobj.ChangeChannelProperty "HostKey", "SecretHost"
chanobj.ChangeChannelProperty "Lag", 2
chanobj.ChangeChannelProperty "Modes", cmPublic + cmKnock + cmTopicop

See Also

enumChannelMode, OnChannelPropertyChanged


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