dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OraclePackage Class / ExecProc Method
The name of the stored procedure or function.
Array of parameters to be passed to the stored procedure.

In This Topic
    ExecProc Method
    In This Topic
    Obsolete. Executes stored procedure or function.
    Syntax
    'Declaration
     
    Public Function ExecProc( _
       ByVal name As String, _
       ByVal ParamArray parameters() As Object _
    ) As Object
    public object ExecProc( 
       string name,
       params object[] parameters
    )

    Parameters

    name
    The name of the stored procedure or function.
    parameters
    Array of parameters to be passed to the stored procedure.

    Return Value

    The value that function returns.
    Remarks
    Parameters in parameters array must be positioned in the order in which they were declared in stored procedure declaration. If number of parameters passed to stored procedure through this method is greater than number of formal parameters unnecessary parameters will be ignored. If number of parameters is less than number of formal parameters missing parameters values will be NULL. If stored procedure of function with the specified name does not exist an exception will be thrown.
    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