IScalarVariable Interface

Represents a SQL Server scalar variable.

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

Syntax

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

The IScalarVariable type exposes the following members.

Properties

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

Top

Methods

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

Top