Defined In
LCConnection
Syntax
flag = lcConnection.LookupProperty(propertyToken, dataType, propertyFlags, propertyName)
Parameters
Option Public
Uselsx "*lsxlc"
Sub Initialize
Dim connect As New LCConnection ("oracle")
' note that a connect is not necessary to list and look up properties
' the parameters are optional, to text for the existence of a property
' simply provide the TOKEN parameter
If (connect.LookupProperty (LCTOKEN_SERVER)) Then
Print "Oracle has a 'Server' property"
Else
Print "Oracle does not have a 'Server' property"
End If
If (connect.LookupProperty (LCTOKEN_DATABASE)) Then
Print "Oracle has a 'Database' property"
Print "Oracle does not have a 'Database' property"
End Sub
Example Output Oracle has a 'Server' property.
Oracle does not have a 'Database' property.