SetAdsProvider

SetAdsProvider 1:

This method sets the context in which the file accesses are processed when loading and saving the JSON documents. If no ADS provider is specified, the current task is used.

Syntax

METHOD SetAdsProvider : BOOL
VAR_INPUT
  oid : OTCID;
END_VAR

SetAdsProvider 2: Return value

Name

Type

Description

SetAdsProvider

BOOL

The method returns TRUE if the setting of the ADS provider was successful.

SetAdsProvider 3: Inputs

Name

Type

Description

oid

OTCID

Object ID of the task.

Sample call:

bTest   := fbJson.SetAdsProvider(02010030);