Contents Index Topic Contents | ||
Previous Topic: Index Property Next Topic: MemberIdentity Property |
MemberCount Property
Synchronously returns the current number of members in the channel.
Syntax
value=object.MemberCount
Parameters
value Required. A long integer that will receive the current number of members in the channel. object Required. An object expression that evaluates to a Channel object. Remarks
Access is read-only.
If the Channel object is not open, attempts to access its MemberCount property will cause an occurrence of the Channel Error 3062, "The channel is not open."
Examples
The user can also synchronously obtain the member count of the channel by using:
ChannelProperty("MemberCount")But the MemberCount property is simpler and more efficient.
The asynchronous methods of accessing the member count of the channel are:
<:channel>.QueryChannelProperty "MemberCount" 'and <:control>.QueryChannelProperty "MemberCount", <:channelname>See Also
ChannelProperty, QueryChannelProperty
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.