CreateCurrentHighVersionCommand Method

Constructs and returns a SqlCommand object that can be used to retrieve information about the current highest version in the system, used as the upper limit for searching for changes.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Data
Assembly:  Microsoft.Dynamics.Commerce.Runtime (in Microsoft.Dynamics.Commerce.Runtime.dll)

Syntax

'Declaration
Protected MustOverride Function CreateCurrentHighVersionCommand As SqlCommand
'Usage
Dim returnValue As SqlCommand

returnValue = Me.CreateCurrentHighVersionCommand()
protected abstract SqlCommand CreateCurrentHighVersionCommand()
protected:
virtual SqlCommand^ CreateCurrentHighVersionCommand() abstract

Return Value

Type: System.Data.SqlClient.SqlCommand
A SqlCommand that can be used to retrieve the current high version in the system.

Remarks

Caller is responsible for disposing the command

See Also

Reference

ChangeTrackingProviderBase Class

Microsoft.Dynamics.Commerce.Runtime.Data Namespace