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

  • size
    Type: System.Int32

    The maximum size of the data within the column.

See Also

Database Class

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.