Contents Index Topic Contents | ||
Previous Topic: KickUser Method Next Topic: ListChannels Method |
KillChannel Method
Terminates a channel on the server.
Syntax
object.KillChannel ChannelName[, Reason]
Parameters
object Required. An object expression that evaluates to an MsChatPr control. ChannelName Required. A string expression that must be an existing channel Name. Reason Optional. Can be empty, missing, or a string containing the reason for channel termination. Remarks
The caller must be an administrator or system operator to successfully perform this operation.
All channel members are kicked out of the channel and the channel is closed.
Examples
MsChatPr1.KillChannel "#TheirChannel" MsChatPr1.KillChannel "#BadChannel", "Bad language is used in this channel."
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.