Share via


IParameterFactory.CreateCursorParameter Method

Creates an ICursorParameter object that has the specified name.

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

Syntax

'Declaration
Function CreateCursorParameter ( _
    name As String _
) As ICursorParameter
'Usage
Dim instance As IParameterFactory
Dim name As String
Dim returnValue As ICursorParameter

returnValue = instance.CreateCursorParameter(name)
ICursorParameter CreateCursorParameter(
    string name
)
ICursorParameter^ CreateCursorParameter(
    String^ name
)
abstract CreateCursorParameter : 
        name:string -> ICursorParameter 
function CreateCursorParameter(
    name : String
) : ICursorParameter

Parameters

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ICursorParameter
An ICursorParameter object that has the specified name.