Table of Contents

TTMSMCPResourceBuilder.URI Method

Publishes the entry at one fixed address.

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

Syntax

function URI(const AURI: string): TTMSMCPResourceBuilder;

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.