KillChannel MethodKillChannel Method*
*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

objectRequired. An object expression that evaluates to an MsChatPr control.
ChannelNameRequired. A string expression that must be an existing channel Name.
ReasonOptional. 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."

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