VistaDB 5






VistaDB.DDA Namespace > IVistaDBDatabase Interface : InvokeClrProcedure Method
The Clr Procedure custom name
An argument list for the invoked method. This is a set of objects with the same number, order, and type as the parameters of the function or procedure to be invoked
InvokeClrProcedure Method
Invoke Clr Procedure. Assembly must already be loaded into database and procedure name associated.
Syntax
'Declaration
 
Function InvokeClrProcedure( _
   ByVal procedureName As System.String, _
   ByVal ParamArray parameters() As System.Object _
) As System.Object
'Usage
 
Dim instance As IVistaDBDatabase
Dim procedureName As System.String
Dim parameters() As System.Object
Dim value As System.Object
 
value = instance.InvokeClrProcedure(procedureName, parameters)
System.object InvokeClrProcedure( 
   System.string procedureName,
   params System.object[] parameters
)
function InvokeClrProcedure( 
    procedureName: System.String;
   params  parameters: System.TObjectarray of
): System.TObject; 
function InvokeClrProcedure( 
   procedureName : System.String,
   parameters : System.Object[]
) : System.Object;
System.Object* InvokeClrProcedure( 
   System.string* procedureName,
   params System.Object*[]* parameters
) 
System.Object^ InvokeClrProcedure( 
   System.String^ procedureName,
   ... System.array<Object^>^ parameters
) 

Parameters

procedureName
The Clr Procedure custom name
parameters
An argument list for the invoked method. This is a set of objects with the same number, order, and type as the parameters of the function or procedure to be invoked

Return Value

An object containing the return value of the invoked function, or a null reference (Nothing in Visual Basic) in the case of invoked procedure.
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