The SetLogName method sets the file name for the output log and open the file. If log file name is not set, all output messages will be discarded.
object.SetLogName()
CaWHarvest
A string that represents the output log file name.
A boolean, True if success, False if fail.
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 blnRet = sobjHarvest.SetLogName(“C:\temp\vblog.txt”) lngRet = sobjHarvest.Login(“CMBroker”, “CMUser”, “MyPassword")
More information:
| Copyright © 2013 CA. All rights reserved. |
|