Vorheriges Thema: ServiceDefinition Metrics Methods

Nächstes Thema: GetServiceDefinitionLastCommittedMetrics

GetServiceDefinitionMetrics

Description

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

Syntax

EntityListData GetServiceDefinitionMetrics (long serviceDefinitionFolderItemID, string searchText);

Parameters

Name

Type

Description

serviceDefinitionFolderItemID

long

The ID of the service definition folder item.

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 service definition 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.