Share via


IParameter Interface

Represents a SQL Server parameter.

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

Syntax

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

The IParameter type exposes the following members.

Properties

  Name Description
Public property DataType Gets the local variable data type. (Inherited from ILocalVariable.)
Public property DefaultValue Gets the default value of the parameter.
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.
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.
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.)

Top

Methods

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

Top