Vorheriges Thema: Contract Metrics Methods

Nächstes Thema: DeleteContractMetric

GetContractMetrics

Description

This method gets a list of all contract metrics of the specified contract version for which the name matches the search string.

Syntax

EntityListData GetContractMetrics (long ContractVersionID, string searchText);

Parameters

Name

Type

Description

ContractVersionID

long

The ID of the contract version.

searchText

string

The text to search for.

The search string is optional and may be left empty. If used, it may contain an asterisk as a wildcard for the search.

Return Value

The contract metrics, as type EntityListData.

Remarks

An EntityListData object is returned as a collection of EntityListItemData items, which contains both the name and ID of every object.