This function returns the queues linked to the provider through the specified registry key.
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. |
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)
In Profile Client v8 on User Interface Queues can be found in
.