Share via


IScalarParameter Interface

Represents a SQL Server scalar parameter.

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

Syntax

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

The IScalarParameter 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. (Inherited from IScalarVariable.)
Public property DefaultValue Gets the default value of the parameter. (Inherited from IParameter.)
Public property IsCursorVariable Gets a value that indicates whether this is a cursor variable. (Inherited from ILocalVariable.)
Public property IsOutput Gets a value that indicates whether the parameter is an output parameter. (Inherited from IParameter.)
Public property IsParameter Gets a value that indicates whether this is a parameter. (Inherited from ILocalVariable.)
Public property IsReadOnly Gets a value that indicates that this parameter is read-only. (Inherited from IParameter.)
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