Share via


IParameterFactory Interface

Defines methods that are used to create parameter objects.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Interface IParameterFactory
'Usage
Dim instance As IParameterFactory
public interface IParameterFactory
public interface class IParameterFactory
type IParameterFactory =  interface end
public interface IParameterFactory

The IParameterFactory type exposes the following members.

Methods

  Name Description
Public method CreateCursorParameter Creates an ICursorParameter object that has the specified name.
Public method CreateScalarParameter(String, IScalarDataType) Creates an IScalarParameter object that has the specified name and data type.
Public method CreateScalarParameter(String, IScalarDataType, Boolean, String) Creates an IScalarParameter object that has the specified name, data type, and default value.
Public method CreateTableParameter Creates an ITableParameter object that has the specified name and data type.

Top