Share via


ODataModelBuilder.RemoveProcedure Method (ProcedureConfiguration)

Removes the procedure from the model.

Namespace:  System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Overridable Function RemoveProcedure ( _
    procedure As ProcedureConfiguration _
) As Boolean
'Usage
Dim instance As ODataModelBuilder 
Dim procedure As ProcedureConfiguration 
Dim returnValue As Boolean 

returnValue = instance.RemoveProcedure(procedure)
public virtual bool RemoveProcedure(
    ProcedureConfiguration procedure
)
public:
virtual bool RemoveProcedure(
    ProcedureConfiguration^ procedure
)
abstract RemoveProcedure : 
        procedure:ProcedureConfiguration -> bool  
override RemoveProcedure : 
        procedure:ProcedureConfiguration -> bool
public function RemoveProcedure(
    procedure : ProcedureConfiguration
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the procedure is present in the model; false otherwise.

See Also

Reference

ODataModelBuilder Class

RemoveProcedure Overload

System.Web.Http.OData.Builder Namespace