Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes a procedure from the model.
Namespace:   System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
| Name | Description | |
|---|---|---|
| .jpeg) | RemoveProcedure(ProcedureConfiguration) | Removes the procedure from the model. | 
| .jpeg) | RemoveProcedure(String) | Removes the procedure from the model. | 
See Also
ODataModelBuilder Class
System.Web.Http.OData.Builder Namespace
Return to top
ODataModelBuilder.RemoveProcedure Method (ProcedureConfiguration)
Removes the procedure from the model.
Syntax
public virtual bool RemoveProcedure(
    ProcedureConfiguration procedure
)
public:
virtual bool RemoveProcedure(
    ProcedureConfiguration^ procedure
)
abstract RemoveProcedure : 
        procedure:ProcedureConfiguration -> bool
override RemoveProcedure : 
        procedure:ProcedureConfiguration -> bool
Public Overridable Function RemoveProcedure (
    procedure As ProcedureConfiguration
) As Boolean
Parameters
- procedure 
 Type: System.Web.Http.OData.Builder.ProcedureConfiguration- The procedure to be removed. 
Return Value
Type: System.Boolean
true if the procedure is present in the model; false otherwise.
Return to top
ODataModelBuilder.RemoveProcedure Method (String)
Removes the procedure from the model.
Syntax
public virtual bool RemoveProcedure(
    string name
)
public:
virtual bool RemoveProcedure(
    String^ name
)
abstract RemoveProcedure : 
        name:string -> bool
override RemoveProcedure : 
        name:string -> bool
Public Overridable Function RemoveProcedure (
    name As String
) As Boolean
Parameters
- name 
 Type: System.String- The name of the procedure to be removed. 
Return Value
Type: System.Boolean
true if the procedure is present in the model; false otherwise.
Return to top