beautypg.com

Com return values, Logmonitor.serverconnected, Name – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 156: Description, Logmonitor.serverlogonname, Default value

background image

Section 19. CsiLogMonitor Control Reference

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

E_CSI_INVALIDARG

Error: The number must be one or greater

E_CSI_BUSY

Error: Attempting to set this property while
the logs are being actively monitored

LogMonitor.serverConnected

Name

LogMonitor.serverConnected As Boolean

Description

This Boolean property describes the state of the connection between the
LogMonitor control and the LoggerNet server. The property returns TRUE if
the connection exists. Otherwise, the property returns FALSE.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

LogMonitor.serverLogonName

Name

LogMonitor.serverLogonName As String

Description

This property specifies the account name that should be used when connecting
to the LoggerNet server. If security is enabled on the target LoggerNet server,
this string must be one of the account names recognized by the LoggerNet
server.

Default Value

The default value for this property is an empty string. This property will only
affect the operation of the control if security is enabled on the LoggerNet
server.

19-2