Contents Index Topic Contents | ||
Previous Topic: SendProtocolMessage Method Next Topic: Events |
SetAway Method
Sets and resets the Away flag and away message.
Syntax
object.SetAway Away[, TextMessage]
Parameters
object Required. An object expression that evaluates to an MsChatPr control. Away Required. A Boolean value used to indicate if the user is away. When a user is marked as being away, the away message is sent to any caller sending a private message to the away user. This automatic replay stops when the user resets the away flag. TextMessage Optional. If the away flag is set to TRUE, this parameter is used to set the away text message. If the away flag is set to FALSE, this parameter is useless. Examples
'Setting the Away flag MsChatPr1.SetAway True, "Out with the dog, back at 4:00 p.m. local time." 'Resetting the Away flag MsChatPr1.SetAway False
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.