DeriveParameters method

Populates the Parameters collection of the specified SACommand object. This is used for the stored procedure specified in the SACommand.

Syntax
Visual Basic

Public Shared Sub DeriveParameters( _
   ByVal command As SACommand _
)
C#

public static void DeriveParameters(
   SACommand command
);
Parameters
  • command   An SACommand object for which to derive parameters.

Remarks

DeriveParameters overwrites any existing parameter information for the SACommand.

DeriveParameters requires an extra call to the database server. If the parameter information is known in advance, it is more efficient to populate the Parameters collection by setting the information explicitly.

See also