Setoptions method, Syntax, Returns – Echelon OpenLDV User Manual

Page 171

Advertising
background image

OpenLDV Programmer’s Guide

163

Syntax

C++

STDMETHOD(SetInstance)(BSTR instance)

Visual Basic Sub SetInstance(ByVal instance As String)

Table 43. SetInstance Parameters

Parameter

Description

instance

Name of the lookup extension instance. Defaults to the profile name,

if not configured in the profile.

Returns

Standard xDriver LdvxResult (HRESULT) describing the result of the call.

SetOptions Method

Applies to: xDriver Lookup Extension Component
This method passes an arbitrary options string from the profile to the xDriver

lookup extension component. For example, this string can specify a database

path or a dial-up-networking prefix, depending on the needs of a custom

extension.
You can set the lookup options string to be used by a given xDriver profile with

the OpenLDV xDriver Profile Editor. For more information, see see xDriver

Profiles on page 134.

Syntax

C++

STDMETHOD(SetOptions)(BSTR options)

Visual Basic Sub SetOptions(ByVal options As String)

Table 44. SetOptions Parameters

Parameter

Description

options

Arbitrary options string (defaults to empty string).

Returns

Standard xDriver LdvxResult (HRESULT) describing the result of the call.

Advertising