DataWarehouse.SearchServiceLevelAgreements Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Searches the data warehouse for ServiceLevelAgreementInfo objects based on search criteria and parameters.
Overloads
| SearchServiceLevelAgreements(IList<Guid>, String, DateTime, DateTime) |
Searches for SLAs with given criteria |
| SearchServiceLevelAgreements(IList<Guid>, String, DateTime, DateTime, String) |
Searches for MonitoringObjects with given criteria |
SearchServiceLevelAgreements(IList<Guid>, String, DateTime, DateTime)
Searches for SLAs with given criteria
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Warehouse::ServiceLevelAgreementInfo ^> ^ SearchServiceLevelAgreements(System::Collections::Generic::IList<Guid> ^ managementGroups, System::String ^ searchCriteria, DateTime from, DateTime to);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Warehouse.ServiceLevelAgreementInfo> SearchServiceLevelAgreements (System.Collections.Generic.IList<Guid> managementGroups, string searchCriteria, DateTime from, DateTime to);
member this.SearchServiceLevelAgreements : System.Collections.Generic.IList<Guid> * string * DateTime * DateTime -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Warehouse.ServiceLevelAgreementInfo>
Public Function SearchServiceLevelAgreements (managementGroups As IList(Of Guid), searchCriteria As String, from As DateTime, to As DateTime) As ReadOnlyCollection(Of ServiceLevelAgreementInfo)
Parameters
The list of Guid objects that represent the ManagementGroup objects to search.
- searchCriteria
- String
The search query criteria.
- from
- DateTime
The date and time to start the search results.
- to
- DateTime
The date and time to end the search results.
Returns
Returns a ReadOnlyCollection<T> object of ServiceLevelAgreementInfo objects.
Applies to
SearchServiceLevelAgreements(IList<Guid>, String, DateTime, DateTime, String)
Searches for MonitoringObjects with given criteria
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Warehouse::ServiceLevelAgreementInfo ^> ^ SearchServiceLevelAgreements(System::Collections::Generic::IList<Guid> ^ managementGroups, System::String ^ searchCriteria, DateTime from, DateTime to, System::String ^ languageCode);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Warehouse.ServiceLevelAgreementInfo> SearchServiceLevelAgreements (System.Collections.Generic.IList<Guid> managementGroups, string searchCriteria, DateTime from, DateTime to, string languageCode);
member this.SearchServiceLevelAgreements : System.Collections.Generic.IList<Guid> * string * DateTime * DateTime * string -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Warehouse.ServiceLevelAgreementInfo>
Public Function SearchServiceLevelAgreements (managementGroups As IList(Of Guid), searchCriteria As String, from As DateTime, to As DateTime, languageCode As String) As ReadOnlyCollection(Of ServiceLevelAgreementInfo)
Parameters
The list of Guid objects that represent the ManagementGroup objects to search.
- searchCriteria
- String
The search query criteria.
- from
- DateTime
The date and time to start the search results.
- to
- DateTime
The date and time to end the search results.
- languageCode
- String
The language code for the language in which the information is returned.
Returns
Returns a ReadOnlyCollection<T> object of ServiceLevelAgreementInfo objects.