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
object Required. An object expression that evaluates to a Channel object. ChannelPropertyName Required. 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 NewChannelProperty Required. 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 + cmTopicopSee Also
enumChannelMode, OnChannelPropertyChanged
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.