Share via


IVariableFactory.CreateCursorVariable Method

Creates an ICursorVariable 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 CreateCursorVariable ( _
    name As String _
) As ICursorVariable
'Usage
Dim instance As IVariableFactory
Dim name As String
Dim returnValue As ICursorVariable

returnValue = instance.CreateCursorVariable(name)
ICursorVariable CreateCursorVariable(
    string name
)
ICursorVariable^ CreateCursorVariable(
    String^ name
)
abstract CreateCursorVariable : 
        name:string -> ICursorVariable 
function CreateCursorVariable(
    name : String
) : ICursorVariable

Parameters