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
- entityType
Type: System..::.String
The type of entity to search.
- searchClause
Type: System.Xml..::.XmlElement
XML that describes how the search should be performed.
- searchOptions
Type: Microsoft.CommerceServer..::.SearchOptions
Object describing how data matching the search clause should be returned.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.