Share via


Database.GetStoredProcCommand Method (String)

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.

Creates a DbCommand for a stored procedure.

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

Syntax

'Declaration
PublicOverridableFunctionGetStoredProcCommand ( _
    storedProcedureNameAs String _
) As DbCommand
publicvirtual DbCommand GetStoredProcCommand(
    string storedProcedureName
)
public:
virtual DbCommand^ GetStoredProcCommand(
    String^ storedProcedureName
)
publicfunctionGetStoredProcCommand(
    storedProcedureName : String
) : DbCommand

Parameters

  • storedProcedureName
    Type: System.String

    The name of the stored procedure.

Return Value

The DbCommand for the stored procedure.

See Also

Database Class

GetStoredProcCommand Overload

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.