IVariableFactory Interface
SQL Server 2012
Defines methods that can be used to create ILocalVariable objects.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
The IVariableFactory type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CreateCursorVariable | Creates an ICursorVariable object that has the specified name. |
![]() | CreateScalarVariable | Creates an IScalarVariable object that has the specified name and data type. |
![]() | CreateTableVariable | Creates an ITableVariable object that has the specified name and data type. |

