Share via


ManagementGroup.GetServiceLevelObjective<T>(Guid) Method

Definition

Caution

Please use ServiceLevelAgreements.GetServiceLevelObjective() instead

Returns the service level objective with the specifiedGuidobject from the store.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Configuration::ManagementPackSLO T GetServiceLevelObjective(Guid id);
[System.Obsolete("Please use ServiceLevelAgreements.GetServiceLevelObjective() instead")]
public T GetServiceLevelObjective<T> (Guid id) where T : Microsoft.EnterpriseManagement.Configuration.ManagementPackSLO;
member this.GetServiceLevelObjective : Guid -> 'T (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackSLO)
Public Function GetServiceLevelObjective(Of T As ManagementPackSLO) (id As Guid) As T

Type Parameters

T

A template parameter of object type ManagementPackSLO.

Parameters

id
Guid

The unique Guidobject of the service level objective to get.

Returns

T

Returns a ReadOnlyCollection<T>object.

Attributes

Applies to