Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves all service level objects in the store that correspond to the specified criteria.
Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use ServiceLevelAgreements.GetServiceLevelObjectives() instead")]
public IList<T> GetServiceLevelObjectives<T>(
    ManagementPackServiceLevelObjectiveCriteria<T> criteria
)
where T : ManagementPackSLO
public:
generic<typename T>
where T : ManagementPackSLO
[ObsoleteAttribute("Please use ServiceLevelAgreements.GetServiceLevelObjectives() instead")]
IList<T>^ GetServiceLevelObjectives(
    ManagementPackServiceLevelObjectiveCriteria<T>^ criteria
)
[<ObsoleteAttribute("Please use ServiceLevelAgreements.GetServiceLevelObjectives() instead")>]
member GetServiceLevelObjectives<'T when 'T : ManagementPackSLO> : 
        criteria:ManagementPackServiceLevelObjectiveCriteria<'T> -> IList<'T>
<ObsoleteAttribute("Please use ServiceLevelAgreements.GetServiceLevelObjectives() instead")>
Public Function GetServiceLevelObjectives(Of T As ManagementPackSLO) (
    criteria As ManagementPackServiceLevelObjectiveCriteria(Of T)
) As IList(Of T)
Parameters
- criteria 
 Type: Microsoft.EnterpriseManagement.Configuration.ManagementPackServiceLevelObjectiveCriteria<T>- A T:Microsoft.Enterprise.Configuration. ManagementPackServiceLevelObjectiveCriteria``1 object to specify the criteria. 
Return Value
Type: System.Collections.Generic.IList<T>
Returns anIList<T> object of objects of typeT.
Type Parameters
- T
 A template parameter of object type ManagementPackSLO.
See Also
GetServiceLevelObjectives Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top