PreviousDTO Programmer's Guide (9.1 revision 1) Next

DtoSqlClients Collection

Show this topic in Library frames

A collection of DtoSqlClient objects, representing all the SQL clients on a server.

Properties

Count
Returns the number of members in a collection.
Item
Returns a specific member of a collection.

Methods

None

Remarks

Note
This collection cannot be obtained by a Workstation engine.

Use the Count property to find the number of members in the collection.

Example
' Instantiate session and connect 
Dim my_session as new DtoSession 
Dim result as DtoResult 
result = my_session.Connect("myserver", "username", 
"password") 
' Get monitor object from session 
Dim my_monitor as DtoMonitor 
Set my_monitor = my_session.Monitor 
' Now get SQL Clients from monitor 
Dim my_sqlclients as DtoSqlClients 
Set my_sqlclients = my_monitor.SqlClients 
See Also

DtoSqlClient Object
DtoMonitor Object


Chapter contents
Publication contents

Prev topic: DtoProtocolStat Object
Next topic: DtoSqlClient Object