Share via


ILocalVariable Interface

Defines a local variable or parameter.

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

Syntax

'Declaration
Public Interface ILocalVariable _
    Inherits IMetadataObject
'Usage
Dim instance As ILocalVariable
public interface ILocalVariable : IMetadataObject
public interface class ILocalVariable : IMetadataObject
type ILocalVariable =  
    interface 
        interface IMetadataObject 
    end
public interface ILocalVariable extends IMetadataObject

The ILocalVariable type exposes the following members.

Properties

  Name Description
Public property DataType Gets the local variable data type.
Public property IsCursorVariable Gets a value that indicates whether this is a cursor variable.
Public property IsParameter Gets a value that indicates whether this is a parameter.
Public property IsScalarVariable Gets a value that indicates whether this is a scalar variable.
Public property IsTableVariable Gets a value that indicates whether this is a table variable.
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)

Top

Methods

  Name Description
Public method Accept<T> Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)

Top

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace