Remoteflag, S remoteflag, Rebuildldrfcatalog – Echelon OpenLNS User Manual

Page 723

Advertising
background image

OpenLNS Programmer's Reference

686

Added to API

Depends on the object used to access the property. Generally,

this property exists for an object as soon as the object is

added to the API.

RemoteFlag

Summary

Specifies whether the network will be opened locally or

remotely.

This property must be set prior to opening the OpenLNS

Server. See the Open method for more information.
The RemoteFlag property must be set to True for applications

that are to be distributed as LNS Remote distributables.

Otherwise, the LCA, #72 lcaErrWrongServerDll exception

will be thrown when you open the OpenLNS Object Server.

You will establish whether an application is to be distributed

as an OpenLNS Remote or an OpenLNS Complete

redistributable when you create the redistributable with the

OpenLNS SDK.

Availability

Local, full, lightweight, and independent clients. Note that

some collection objects are not available to Independent

clients.

Syntax

parentObject = object.Parent

Element

Description

remoteFlag

A Boolean value indicating whether the

network will be opened locally or

remotely.

TRUE. The network will be opened

remotely.
When this property is True,

the Object Server's Flags

property may be used to

specify the transport protocol

to be used by the OpenLNS

application. The relevant

flags are lcaFlagsUseTCP or

lcaFlagsUseNSI.

FALSE. T

he

network will be opened

locally.

osObject

The

ObjectServer

control.

Data Type

Boolean.

Read/Write

Read/write.

Added to API

Prior to LNS Release 3.0.

Advertising