Represents the collection of network boards on the server.
Finds a LanBoard object in the collection.
object.Element(
BoardNumber As Integer)
The LanBoard number of the object to find.
LanBoard.
This example returns the specified object in the collection.
’Find the first LAN board and print its information
set srv = createobject ("ucx:Server")
set boards = srv.lanboards
set board = boards.element(1)
print "Full Name:" &board.FullName
Determines whether or not any more LanBoard objects exist in the collection.
object.HasMoreElements()
None.
Boolean. Returns TRUE if more LanBoard objects exist in the collection; otherwise, FALSE.
This example determines whether or not any more LanBoard objects exist in the collection.
’Reset the collection and list all the LAN boards
set srv = createobject ("ucx:Server")
set boards = srv.lanboards
boards.reset()
print "Lanboards available on this server:"
while (boards.hasmoreelements())
set Boards = boards.next()
Print (board.shortName)
wend
Returns the next LanBoard object in the collection.
object.Next()
None.
LanBoard. Returns NULL if the collection has no more elements.
This example returns the next LanBoard object in the collection.
’Reset the collection and list all the LAN boards
set srv = createobject ("ucx:Server")
set boards = srv.lanboards
boards.reset()
print "Lanboards available on this server:"
while (boards.hasmoreelements())
set Boards = boards.next()
Print (board.shortName)
wend
Resets the LanBoards collection and starts an iteration.
object.Reset()
None.
Void.
This example resets the collection and starts an iteration.
’Reset the collection and list all the LAN boards
set srv = createobject ("ucx:Server")
set boards = srv.lanboards
boards.reset()
print "Lanboards available on this server:"
while (boards.hasmoreelements())
set Boards = boards.next()
Print (board.shortName)
wend