Contents Index Topic Contents | ||
Previous Topic: ServerName Property Next Topic: UserProperty Property |
ServerProperty Property
Synchronously accesses a server property.
Syntax
value.object.ServerProperty(ServerPropertyName)
Parameters
value Required. An object expression that evaluates to a ChatItems object. object Required. An object expression that evaluates to an MsChatPr control. ServerPropertyName Required. A string that contains one of these valid server property name values:
AnonymousAllowed ChannelCount IgnoredUsers Info MaxMessageLength Name NetInvisibleCount NetServerCount NetUserCount NodeServerCount NodeUserCount SecurityPackages SysopCount UnknownConnectionCount Remarks
Access is read-only.
If the property could not be retrieved within the number of milliseconds specified by the PropertyAccessTimeOut property, a time-out error is thrown and an OnServerProperty event might be fired later with the requested property.
The connection state must be at least csConnected to access the following properties:
AnonymousAllowed IgnoredUsers MaxMessageLength Name The state must be at least csLogged to access all other server properties.
Example
Dim chatitemobj As ChatItems Set chatitemobj = MsChatPr1.ServerProperty("AnonymousAllowed") '...use chatitemobj Set chatitemobj = MsChatPr1.ServerProperty("NodeUserCount") '...use chatitemobj Set chatitemobj = NothingSee Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.