GetServiceDefinitionLastCommittedMetrics
This method returns a list of the metrics of the last committed version of the specified Service Definition for which the name matches the search string.
EntityListData GetServiceDefinitionLastCommittedVersionMetrics (long serviceDefinitionFolderItemID, string searchText);
|
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. |
The metrics of the last, committed version of the service definition as type EntityListData.
Note: Returns metrics only if there is a committed version.
An EntityListData object is returned as a collection of EntityListItemData items, which contains both the name and ID of every object.
Note: The status (effective, not effective, pending) does not have an affect; the sole consideration is whether the template is “committed” or not committed.
Note: Throws an error when the service definition has no committed version.
| Copyright © 2012 CA. Alle Rechte vorbehalten. | Senden Sie CA Technologies eine E-Mail zu diesem Thema. |