AddMetricsToServiceDefinition
This method copies existing metrics in the system to the specified service definition.
void AddMetricsToServiceDefinition (long ServiceDefinitionFolderItemID, long[] MetricIDs, bool forceAdd);
|
Name |
Type |
Description |
|---|---|---|
|
ServiceDefinitionFolderItemId |
long |
The ID of the service definition folder item. |
|
MetricIDs |
long[] |
An array of IDs of the selected metrics to add. |
|
forceAdd |
bool |
Specifies whether to force the addition. |
The copied metrics may belong to another contract, service definition, or contract template.
If the addition fails due to existing metrics with similar names, or mismatched effective dates, it is possible to set the forceAdd argument to true, in order to perform the addition while automatically renaming the metrics.
None.
ServiceDefinition Metric Motes Methods
GetServiceDefinitionMetricNotes
This method get the details of the metric notes in a service definition.
MetricNotesData GetServiceDefinitionMetricNotes(long metricID);
|
Name |
Type |
Description |
|
metricID |
long |
The Metric's ID. |
The metric notes details, as type MetricNotesData.
None.
UpdateServiceDefinitionMetricNotes
This method updates the metric notes in a service definition.
void UpdateServiceDefinitionMetricNotes(long metricID, MetricNotesData data);
|
Name |
Type |
Description |
|
metricID |
long |
The Metric's ID. |
|
data |
MetricNotesData |
The data used to update notes of this metric. |
None.
None.
| Copyright © 2012 CA. Tutti i diritti riservati. | Contatta CA Technologies |