ISProvider.LoadQueues

Description

This function returns the queues linked to the provider through the specified registry key.

Syntax

object.LoadQueues(aRegKeyCode)

Part Attribute Type Description
object Required
The object always implements the ISProvider interface
aRegKeyCode In, Required
string
The code of the short code the provider's registry key is linked to, while as the registry key value matches the queue name.

Return Value

ISQueues

Returns the queues linked to the provider through the specified registry key.

Example

Display the names of the queues linked to the provider through the specified registry key.

Dim aFilter 
Dim aProvider
Dim aQueues, aQueue
Dim aMessage

set aProvider = Profile.LoadProvider("CE")
set aQueues = aProvider.LoadQueues("REGKEYQUEUE")
if aQueues.Count = 0 then
  aMessage = "There are no queues"
end if  

for i = 0 to aQueues.Count - 1
  set aQueue = aQueues.Item(i)
  aMessage = aMessage & vbNewLine & (i + 1) & ") " & aQueue.QueueName
next
Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Queues can be found in Special > Queue Manager > Queues.

Version information

Added in v7.8.0