ISSCommandWithParameters (OLE DB)

 

System_CAPS_ICON_warning.jpg Warning

SQL Server Native Client (SNAC) is not supported beyond SQL Server 2012. Avoid using SNAC in new development work, and plan to modify applications that currently use it. The Microsoft ODBC Driver for SQL Server provides native connectivity from Windows to Microsoft SQL Server and Microsoft Azure SQL Database.

ISSCommandWithParameters exposes support for SQL Server XML and user-defined types (UDT). This is an optional interface that inherits from the core OLE DB interface ICommandWithParameters. In addition to the three methods inherited from ICommandWithParameters; GetParameterInfo, MapParameterNames, and SetParameterInfo; ISSCommandWithParameters provides two new methods that are used to handle server specific data types.

System_CAPS_ICON_note.jpg Note


The ISSCommandWithParameters interface can be used when Service Components are used, but the Service Components themselves will not use this interface.

MethodDescription
ISSCommandWithParameters::GetParameterProperties (OLE DB)Returns one SSPARAMPROPS property set structure in the array for each UDT or XML parameter passed to the command, but none is returned for other types of parameters.
ISSCommandWithParameters::SetParameterProperties (OLE DB)Sets the parameter properties on a per parameter basis by ordinal, or sets bulk parameter properties by specifying an array of SSPARAMPROPS structures.

Interfaces (OLE DB)
Using XML Data Types
Using User-Defined Types

Community Additions

ADD
Show: