Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Returns the service level objective with the specifiedSystem.Guidobject from the store.
Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use ServiceLevelAgreements.GetServiceLevelObjective() instead")]
public T GetServiceLevelObjective<T>(
    Guid id
)
where T : ManagementPackSLO
public:
generic<typename T>
where T : ManagementPackSLO
[ObsoleteAttribute("Please use ServiceLevelAgreements.GetServiceLevelObjective() instead")]
T GetServiceLevelObjective(
    Guid id
)
[<ObsoleteAttribute("Please use ServiceLevelAgreements.GetServiceLevelObjective() instead")>]
member GetServiceLevelObjective<'T when 'T : ManagementPackSLO> : 
        id:Guid -> 'T
<ObsoleteAttribute("Please use ServiceLevelAgreements.GetServiceLevelObjective() instead")>
Public Function GetServiceLevelObjective(Of T As ManagementPackSLO) (
    id As Guid
) As T
Parameters
- id 
 Type: System.Guid- The unique Guidobject of the service level objective to get. 
Return Value
Type: T
Returns a ReadOnlyCollection<T>object.
Type Parameters
- T
 A template parameter of object type ManagementPackSLO.
See Also
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top