Argomento precedente: DeleteContractMetric

Argomento successivo: UpdateContractMetricDetails

CreateContractMetric

Description

This method creates a contract metric for the specified contract version.

Syntax

long CreateContractMetric (long contractVersionID, MetricData metricData);

Parameters

Name

Type

Description

ContractVersionId

long

The ID of the contract version.

metricData

MetricData

The data to use to create the new metric.

Return Value

The ID of the new metric, as type long.

Remarks

The method validates the data sent to it and may throw a validation exception upon failure.

Refer to MetricData.