Microsoft Chat Server SDK Reference

Close Method

This method allows an extension to remove a user from a channel, or from the server.

Syntax

ChatUser.Close(Channel, Reason)

Parameters

Channel
A reference to a ChatChannel object from which to remove the user, or NULL.
Reason
Reason for termination, sent to user before close.

Remarks

Specifying NULL (or Nothing, in Visual Basic) for Channel removes the user from all channels and closes the client connection. Disconnecting the user will automatically remove any callback registrations for the user.


© 1998 Microsoft Corporation. All rights reserved.