Share via

Database.GetStoredProcCommand Method (String)

Creates a DbCommand for a stored procedure.

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


public virtual DbCommand GetStoredProcCommand(
    string storedProcedureName
Public Overridable Function GetStoredProcCommand ( 
    storedProcedureName As String
) As DbCommand
virtual DbCommand^ GetStoredProcCommand(
    String^ storedProcedureName


  • storedProcedureName
    Type: System.String

    The name of the stored procedure.

Return Value

Type: DbCommand

The DbCommand for the stored procedure.

See Also

Database Class

Database Members

GetStoredProcCommand Overload

Microsoft.Practices.EnterpriseLibrary.Data Namespace