Database.AddOutParameter 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)
Syntax
'Declaration
PublicSubAddOutParameter ( _
commandAs DbCommand, _
nameAs String, _
dbTypeAs DbType, _
sizeAs Integer _
)
publicvoidAddOutParameter(
DbCommand command,
string name,
DbType dbType,
int size
)
public:
voidAddOutParameter(
DbCommand^ command,
String^ name,
DbType dbType,
int size
)
publicfunctionAddOutParameter(
command : DbCommand,
name : String,
dbType : DbType,
size : int
)
Parameters
- command
Type: System.Data.Common.DbCommand
The command to add the out parameter.
name
Type: System.StringThe name of the parameter.
dbType
Type: System.Data.DbTypeOne of the DbType values.
size
Type: System.Int32The maximum size of the data within the column.
See Also
Microsoft.Practices.EnterpriseLibrary.Data Namespace
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. |