This topic has not yet been rated - Rate this topic

SqlDatabaseSameNumberOfParametersAndValues Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Determines if the number of parameters in the command matches the array of parameter values.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data.Sql
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)
protected override bool SameNumberOfParametersAndValues(
	DbCommand command,
	Object[] values
)

Parameters

command
Type: System.Data.CommonDbCommand
The DbCommand containing the parameters.
values
Type: SystemObject
The array of parameter values.

Return Value

true (True in Visual Basic) if the number of parameters and values match; otherwise, false (False in Visual Basic).
Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Did you find this helpful?
(1500 characters remaining)