DataWarehouse.SearchServiceLevelAgreements Method (IList<Guid>, String, DateTime, DateTime)
Applies To: Operations Manager for System Center 2012
Searches the data warehouse for ServiceLevelAgreementInfo objects based on search criteria and parameters.
Namespace: Microsoft.EnterpriseManagement.Warehouse
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public ReadOnlyCollection<ServiceLevelAgreementInfo> SearchServiceLevelAgreements(
IList<Guid> managementGroups,
string searchCriteria,
DateTime from,
DateTime to
)
public:
ReadOnlyCollection<ServiceLevelAgreementInfo^>^ SearchServiceLevelAgreements(
IList<Guid>^ managementGroups,
String^ searchCriteria,
DateTime from,
DateTime to
)
member SearchServiceLevelAgreements :
managementGroups:IList<Guid> *
searchCriteria:string *
from:DateTime *
to:DateTime -> ReadOnlyCollection<ServiceLevelAgreementInfo>
Public Function SearchServiceLevelAgreements (
managementGroups As IList(Of Guid),
searchCriteria As String,
from As Date,
to As Date
) As ReadOnlyCollection(Of ServiceLevelAgreementInfo)
Parameters
managementGroups
Type: System.Collections.Generic.IList<Guid>The list of Guid objects that represent the ManagementGroup objects to search.
searchCriteria
Type: System.StringThe search query criteria.
from
Type: System.DateTimeThe date and time to start the search results.
to
Type: System.DateTimeThe date and time to end the search results.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ServiceLevelAgreementInfo>
Returns a ReadOnlyCollection<T> object of ServiceLevelAgreementInfo objects.
See Also
SearchServiceLevelAgreements Overload
DataWarehouse Class
Microsoft.EnterpriseManagement.Warehouse Namespace
Return to top