dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleObject Class / ExecuteMethod Method / ExecuteMethod(ICustomOracleObject,OracleConnection,String,String,OracleParameterCollection) Method
The object which method to execute. Can be either typed (i.e., an instance of a wizard-generated class) or untyped (i.e., an OracleObject instance).
The connection to the Oracle database where the UDT used is declared.
The user-defined type which obj is an instance of.
The method to be invoked.
An OracleParameterCollection collection of method parameters.

In This Topic
    ExecuteMethod(ICustomOracleObject,OracleConnection,String,String,OracleParameterCollection) Method
    In This Topic
    Calls the method of an Oracle object with the specified set of parameters.
    Syntax
    'Declaration
     
    Public Overloads Shared Function ExecuteMethod( _
       ByVal obj As ICustomOracleObject, _
       ByVal connection As OracleConnection, _
       ByVal typeName As String, _
       ByVal methodName As String, _
       ByVal parameters As OracleParameterCollection _
    ) As Object

    Parameters

    obj
    The object which method to execute. Can be either typed (i.e., an instance of a wizard-generated class) or untyped (i.e., an OracleObject instance).
    connection
    The connection to the Oracle database where the UDT used is declared.
    typeName
    The user-defined type which obj is an instance of.
    methodName
    The method to be invoked.
    parameters
    An OracleParameterCollection collection of method parameters.

    Return Value

    The return value of the UDT method.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also