Share via


Database.AddOutParameter Method

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) Version: 6.0.0.0 (6.0.1304.0)

Syntax

public void AddOutParameter(
    DbCommand command,
    string name,
    DbType dbType,
    int size
)
'Declaration
Public Sub AddOutParameter ( 
    command As DbCommand,
    name As String,
    dbType As DbType,
    size As Integer
)
public:
void AddOutParameter(
    DbCommand^ command, 
    String^ name, 
    DbType dbType, 
    int size
)

Parameters

  • size
    Type: System.Int32

    The maximum size of the data within the column.

See Also

Database Class

Database Members

Microsoft.Practices.EnterpriseLibrary.Data Namespace