ExecuteSearch Method
Searches for an entity in the profiles system based on the input parameters.
Namespace: Microsoft.CommerceServer.Profiles.WebService
Assembly: Microsoft.CommerceServer.Profiles.DataManagement (in Microsoft.CommerceServer.Profiles.DataManagement.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Overridable Function ExecuteSearch ( _
profileType As String, _
searchClause As XmlElement, _
searchOptions As SearchOptions _
) As DataSet
'Usage
Dim instance As ProfilesWebService
Dim profileType As String
Dim searchClause As XmlElement
Dim searchOptions As SearchOptions
Dim returnValue As DataSet
returnValue = instance.ExecuteSearch(profileType, _
searchClause, searchOptions)
[WebMethodAttribute]
public virtual DataSet ExecuteSearch(
string profileType,
XmlElement searchClause,
SearchOptions searchOptions
)
[WebMethodAttribute]
public:
virtual DataSet^ ExecuteSearch(
String^ profileType,
XmlElement^ searchClause,
SearchOptions^ searchOptions
)
public function ExecuteSearch(
profileType : String,
searchClause : XmlElement,
searchOptions : SearchOptions
) : DataSet
Parameters
- profileType
Type: System..::.String
The type of profile 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.
Return Value
Type: System.Data..::.DataSet
A DataSet containing one page of records that matched the provided search clause.
Remarks
Executes a search against a specific profile type in the profile system.
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.