Share via


ManagementGroup.GetServiceLevelObjectives Method

Definition

Retrieves all service level objects in the store.

Overloads

GetServiceLevelObjectives<T>()
Obsolete.

Retrieves all service level objects in the store.

GetServiceLevelObjectives<T>(ManagementPackServiceLevelObjectiveCriteria<T>)
Obsolete.

Retrieves all service level objects in the store that correspond to the specified criteria.

GetServiceLevelObjectives<T>()

Caution

Please use ServiceLevelAgreements.GetServiceLevelObjectives() instead

Retrieves all service level objects in the store.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Configuration::ManagementPackSLO System::Collections::Generic::IList<T> ^ GetServiceLevelObjectives();
[System.Obsolete("Please use ServiceLevelAgreements.GetServiceLevelObjectives() instead")]
public System.Collections.Generic.IList<T> GetServiceLevelObjectives<T> () where T : Microsoft.EnterpriseManagement.Configuration.ManagementPackSLO;
member this.GetServiceLevelObjectives : unit -> System.Collections.Generic.IList<'T (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackSLO)> (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackSLO)
Public Function GetServiceLevelObjectives(Of T As ManagementPackSLO) () As IList(Of T)

Type Parameters

T

A template parameter of object type ManagementPackSLO.

Returns

IList<T>

Returns anIList<T> object of objects of typeT.

Attributes

Applies to

GetServiceLevelObjectives<T>(ManagementPackServiceLevelObjectiveCriteria<T>)

Caution

Please use ServiceLevelAgreements.GetServiceLevelObjectives() instead

Retrieves all service level objects in the store that correspond to the specified criteria.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Configuration::ManagementPackSLO System::Collections::Generic::IList<T> ^ GetServiceLevelObjectives(Microsoft::EnterpriseManagement::Configuration::ManagementPackServiceLevelObjectiveCriteria<T> ^ criteria);
[System.Obsolete("Please use ServiceLevelAgreements.GetServiceLevelObjectives() instead")]
public System.Collections.Generic.IList<T> GetServiceLevelObjectives<T> (Microsoft.EnterpriseManagement.Configuration.ManagementPackServiceLevelObjectiveCriteria<T> criteria) where T : Microsoft.EnterpriseManagement.Configuration.ManagementPackSLO;
member this.GetServiceLevelObjectives : Microsoft.EnterpriseManagement.Configuration.ManagementPackServiceLevelObjectiveCriteria<'T (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackSLO)> -> System.Collections.Generic.IList<'T (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackSLO)> (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackSLO)
Public Function GetServiceLevelObjectives(Of T As ManagementPackSLO) (criteria As ManagementPackServiceLevelObjectiveCriteria(Of T)) As IList(Of T)

Type Parameters

T

A template parameter of object type ManagementPackSLO.

Parameters

criteria
ManagementPackServiceLevelObjectiveCriteria<T>

A Microsoft.Enterprise.Configuration. ManagementPackServiceLevelObjectiveCriteria``1 object to specify the criteria.

Returns

IList<T>

Returns anIList<T> object of objects of typeT.

Attributes

Applies to