Export (0) Print
Expand All

CDynamicParameterAccessor Class

class CDynamicParameterAccessor : public CDynamicAccessor


CDynamicParameterAccessor is similar to CDynamicAccessor, but it obtains parameter information to be set by calling the ICommandWithParameters interface. The provider must support ICommandWithParameters for the consumer to use this class.

The parameter information is stored in a buffer created and managed by this class. Obtain parameter data from the buffer by using GetParam and GetParamType.

For an example demonstrating how to use this class to execute a SQL Server stored procedure and get the output parameter values, see Knowledge Base article Q058860, "HOWTO: Execute Stored Procedure using CDynamicParameterAccessor." Knowledge Base articles are available in the MSDN Library Visual Studio documentation or at http://support.microsoft.com/support/.


Header: atldbcli.h

See Also

Class Members | Using the OLE DB Consumer Templates | Consumer Architecture Chart | CAccessor | CDynamicAccessor | CManualAccessor

© 2015 Microsoft