שתף באמצעות


GetWhereClause Method

Returns a 'WHERE' clause corresponding to the XML Expression provided.

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

Syntax

'Declaration
Public Function GetWhereClause ( _
    expressionXml As String _
) As String
'Usage
Dim instance As ExpressionToProfilesWhereClauseConverter
Dim expressionXml As String
Dim returnValue As String

returnValue = instance.GetWhereClause(expressionXml)
public string GetWhereClause(
    string expressionXml
)
public:
String^ GetWhereClause(
    String^ expressionXml
)
public function GetWhereClause(
    expressionXml : String
) : String

Parameters

  • expressionXml
    Type: System..::.String
    The XML Body of the Expression. May not be nullNothingnullptra null reference (Nothing in Visual Basic).

Return Value

Type: System..::.String
The 'WHERE' clause string corresponding to the given expression.

Exceptions

Exception Condition
ArgumentNullException

If expressionXml is nullNothingnullptra null reference (Nothing in Visual Basic).

ExpressionValidationException

The expression body is not valid.

PropertyNullValidationException

One or more property values of the current instance was set to nullNothingnullptra null reference (Nothing in Visual Basic) when not allowed. For more information, see the specific exception.

Remarks

The expressionXml must be a valid and well-formed XML body and cannot be nullNothingnullptra null reference (Nothing in Visual Basic).

Returns a string representing the expressionXml converted to a Where clause.

Permissions

See Also

Reference

ExpressionToProfilesWhereClauseConverter Class

ExpressionToProfilesWhereClauseConverter Members

Microsoft.CommerceServer.Marketing Namespace