QueryServerProperty MethodQueryServerProperty Method*
*Contents  *Index  *Topic Contents
*Previous Topic: QueryChannelProperty Method
*Next Topic: QueryUserProperty Method

QueryServerProperty Method

Asynchronously accesses a server property.

Syntax

object.QueryServerProperty ServerPropertyName 

Parameters

objectRequired. An object expression that evaluates to an MsChatPr control.
ServerPropertyNameRequired. A string containing one of the following valid server property name values.
AnonymousAllowed
ChannelCount
IgnoredUsers
Info
MaxMessageLength
Name
NetInvisibleCount
NetServerCount
NetUserCount
NodeServerCount
NodeUserCount
SecurityPackages
SysopCount
UnknownConnectionCount

Remarks

A successful QueryServerProperty call results in an OnServerProperty event, in which ServerItems exposes the known server properties.

The connection state must be at least csConnected to access the AnonymousAllowed, IgnoredUsers, MaxMessageLength, and Name properties. The state must be at least csLogged to access all other server properties.

Example

MsChatPr1.QueryServerProperty "Info"
MsChatPr1.QueryServerProperty "SysopCount"

See Also

ItemValid


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.