Contents Index Topic Contents | ||
Previous Topic: AboutBox Method Next Topic: CancelEntering Method |
BanParticipant Method
Bans a member from or reinstates a member to a chat room.
Syntax
object.BanParticipant Name, Set
Parameters
object Required. An object expression that evaluates to a Chat control. Name Required. A BSTR value that contains the alias of the member to be banned or reinstated. Set Required. A Boolean value that determines whether the member is banned or reinstated. If the value is set to TRUE, the member is banned from the chat room and cannot rejoin it. If the value is set to FALSE, the member is reinstated and can join the chat at any time. Remarks
This method only prevents the member from rejoining or allows the member to rejoin the chat room after leaving or being kicked. It does not kick the member from the chat room. BanParticipant cannot be called before the OnEndEnumeration event has been triggered.
See Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.