Database.DoExecuteNonQuery 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.

Executes the query for command.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

Syntax

'Declaration
ProtectedFunctionDoExecuteNonQuery ( _
    commandAs DbCommand _
) As Integer
protected int DoExecuteNonQuery(
    DbCommand command
)
protected:
int DoExecuteNonQuery(
    DbCommand^ command
)
protectedfunctionDoExecuteNonQuery(
    command : DbCommand
) : int

Parameters

Return Value

The quantity of rows affected.

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.