Skip to main content
Table of Contents

TTMSMCPResourceBuilder.URI Method

Publishes the entry at one fixed address.

API unit family: TMS.MCP.Resources Declaring type: TTMSMCPResourceBuilder

Syntax

TMS.MCP.Resources.hppPascalC++
function URI(const AURI: string): TTMSMCPResourceBuilder;
TTMSMCPResourceBuilder* __fastcall URI(const System::UnicodeString AURI);

Remarks

A fixed address and a template address exclude one another.

Parameters

Name Description
AURI Address. Must not be empty.

Returns

The builder, so calls can be chained.

Exceptions

Exception Description
EJsonRpcException Raised with invalid-parameters, error code -32602, when the address is empty or a template address has already been set.