Connects to the CA Harvest SCM Broker.
object.SetBroker(strBrokerName)
CaWHarvest
strBrokerName—A string that represents the name of the CA Harvest SCM Broker.
A long, zero if success, nonzero if failure.
Note: The SetBroker method must be called once after the CaWHarvest object is created. It will establish a connection to the RTserver where the broker connects to.
Example
Dim sobjHarvest
Set sobjHarvest = CreateObject("Chsdk.CaWHarvest")
If sobjHarvest Is Nothing Then
msgbox "Can't create Harvest.", vbOKonly + vbExclamation, "Error"
Exit Sub
End If
LngRet = sobjHarvest.SetBroker(“CMBroker”)
| Copyright © 2013 CA. All rights reserved. |
|