CustomUriFunctions.RemoveCustomUriFunction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RemoveCustomUriFunction(String) |
Removes all the function overloads from the custom uri functions. |
RemoveCustomUriFunction(String, FunctionSignatureWithReturnType) |
Removes the specific function overload from the custom uri functions. |
RemoveCustomUriFunction(String)
Removes all the function overloads from the custom uri functions.
public static bool RemoveCustomUriFunction (string functionName);
static member RemoveCustomUriFunction : string -> bool
Public Shared Function RemoveCustomUriFunction (functionName As String) As Boolean
Parameters
- functionName
- String
The custom function name
Returns
'False' if custom function signature doesn't exist. 'True' if function has been removed successfully
Exceptions
Arguments are null, or function signature return type is null
Applies to
RemoveCustomUriFunction(String, FunctionSignatureWithReturnType)
Removes the specific function overload from the custom uri functions.
public static bool RemoveCustomUriFunction (string functionName, Microsoft.OData.UriParser.FunctionSignatureWithReturnType functionSignature);
static member RemoveCustomUriFunction : string * Microsoft.OData.UriParser.FunctionSignatureWithReturnType -> bool
Public Shared Function RemoveCustomUriFunction (functionName As String, functionSignature As FunctionSignatureWithReturnType) As Boolean
Parameters
- functionName
- String
Custom function name to remove
- functionSignature
- FunctionSignatureWithReturnType
The specific signature overload of the function to remove
Returns
'False' if custom function signature doesn't exist. 'True' if function has been removed successfully
Exceptions
Arguments are null, or function signature return type is null