Método CreateParameter
Creates a new instance of an IDataParameter object.
Namespace: Microsoft.ReportingServices.DataProcessing
Assemblies: Microsoft.ReportingServices.SharePoint.UI.WebParts (em Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Microsoft.ReportingServices.Interfaces (em Microsoft.ReportingServices.Interfaces.dll)
Sintaxe
'Declaração
Function CreateParameter As IDataParameter
'Uso
Dim instance As IDbCommand
Dim returnValue As IDataParameter
returnValue = instance.CreateParameter()
IDataParameter CreateParameter()
IDataParameter^ CreateParameter()
abstract CreateParameter : unit -> IDataParameter
function CreateParameter() : IDataParameter
Valor de retorno
Tipo: Microsoft.ReportingServices.DataProcessing. . :: . .IDataParameter
An IDataParameter object.
Comentários
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.
Consulte também