Share via


ExecuteSearch Method

Searches for an entity in the marketing system based on the input parameters.

Namespace:  Microsoft.CommerceServer.Marketing.WebService
Assembly:  Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function ExecuteSearch ( _
    entityType As String, _
    searchClause As XmlElement, _
    searchOptions As SearchOptions, _
    includePerformanceData As Boolean _
) As DataSet
'Usage
Dim instance As MarketingWebService
Dim entityType As String
Dim searchClause As XmlElement
Dim searchOptions As SearchOptions
Dim includePerformanceData As Boolean
Dim returnValue As DataSet

returnValue = instance.ExecuteSearch(entityType, _
    searchClause, searchOptions, includePerformanceData)
[WebMethodAttribute]
public virtual DataSet ExecuteSearch(
    string entityType,
    XmlElement searchClause,
    SearchOptions searchOptions,
    bool includePerformanceData
)
[WebMethodAttribute]
public:
virtual DataSet^ ExecuteSearch(
    String^ entityType, 
    XmlElement^ searchClause, 
    SearchOptions^ searchOptions, 
    bool includePerformanceData
)
public function ExecuteSearch(
    entityType : String, 
    searchClause : XmlElement, 
    searchOptions : SearchOptions, 
    includePerformanceData : boolean
) : DataSet

Parameters

  • includePerformanceData
    Type: System..::.Boolean
    true to indicate to include performance data should be includes; otherwise false.

Return Value

Type: System.Data..::.DataSet
A DataSet containing the search results.

Remarks

The includePerformanceData is a flag to indicate whether to include a DataTable with performance data (event counts) in the resulting DataSet. Performance data is only returned for items in the result set.

Permissions

See Also

Reference

MarketingWebService Class

MarketingWebService Members

Microsoft.CommerceServer.Marketing.WebService Namespace