1 out of 7 rated this helpful - Rate this topic

DatabaseAddOutParameter 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.

Adds a new Out DbParameter object to the given command.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)
public void AddOutParameter(
	DbCommand command,
	string name,
	DbType dbType,
	int size
)

Parameters

command
Type: System.Data.CommonDbCommand
The command to add the out parameter.
name
Type: SystemString

The name of the parameter.

dbType
Type: System.DataDbType

One of the DbType values.

size
Type: SystemInt32

The maximum size of the data within the column.

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)