Метод IDbCommand.CreateParameter
Creates a new instance of an IDataParameter object.
Пространство имен: Microsoft.ReportingServices.DataProcessing
Сборки: Microsoft.ReportingServices.Interfaces (в Microsoft.ReportingServices.Interfaces.dll)
Microsoft.ReportingServices.SharePoint.UI.WebParts (в Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Синтаксис
'Декларация
Function CreateParameter As IDataParameter
'Применение
Dim instance As IDbCommand
Dim returnValue As IDataParameter
returnValue = instance.CreateParameter()
IDataParameter CreateParameter()
IDataParameter^ CreateParameter()
abstract CreateParameter : unit -> IDataParameter
function CreateParameter() : IDataParameter
Возвращаемое значение
Тип: Microsoft.ReportingServices.DataProcessing.IDataParameter
An IDataParameter object.
Замечания
When inheriting from IDbCommand, a SQL Server Reporting Services data provider implements a strongly typed version of CreateParameter.
The CreateParameter method is called by the report server to set the name and value for each query parameter in the command text. The parameter is then added to the Parameters collection prior to the ExecuteReader method being called.
См. также
Справочник
Пространство имен Microsoft.ReportingServices.DataProcessing