Share via


DataWarehouse.SearchServiceLevelAgreements Method (IList, String, DateTime, DateTime, String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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)

Usage

'Usage
Dim instance As DataWarehouse
Dim managementGroups As IList(Of Guid)
Dim searchCriteria As String
Dim from As DateTime
Dim to As DateTime
Dim languageCode As String
Dim returnValue As ReadOnlyCollection(Of ServiceLevelAgreementInfo)

returnValue = instance.SearchServiceLevelAgreements(managementGroups, searchCriteria, from, to, languageCode)

Syntax

'Declaration
Public Function SearchServiceLevelAgreements ( _
    managementGroups As IList(Of Guid), _
    searchCriteria As String, _
    from As DateTime, _
    to As DateTime, _
    languageCode As String _
) As ReadOnlyCollection(Of ServiceLevelAgreementInfo)
public ReadOnlyCollection<ServiceLevelAgreementInfo> SearchServiceLevelAgreements (
    IList<Guid> managementGroups,
    string searchCriteria,
    DateTime from,
    DateTime to,
    string languageCode
)
public:
ReadOnlyCollection<ServiceLevelAgreementInfo^>^ SearchServiceLevelAgreements (
    IList<Guid>^ managementGroups, 
    String^ searchCriteria, 
    DateTime from, 
    DateTime to, 
    String^ languageCode
)
public ReadOnlyCollection<ServiceLevelAgreementInfo> SearchServiceLevelAgreements (
    IList<Guid> managementGroups, 
    String searchCriteria, 
    DateTime from, 
    DateTime to, 
    String languageCode
)
public function SearchServiceLevelAgreements (
    managementGroups : IList<Guid>, 
    searchCriteria : String, 
    from : DateTime, 
    to : DateTime, 
    languageCode : String
) : ReadOnlyCollection<ServiceLevelAgreementInfo>

Parameters

  • managementGroups
    The list of Guid objects that represent the ManagementGroup objects to search.
  • searchCriteria
    The search query criteria.
  • from
    The date and time to start the search results.
  • to
    The date and time to end the search results.
  • languageCode
    The language code for the language in which the information is returned.

Return Value

Returns a ReadOnlyCollection object of ServiceLevelAgreementInfo objects.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

DataWarehouse Class
DataWarehouse Members
Microsoft.EnterpriseManagement.Warehouse Namespace