Share via


IScalarFunction Interface

Represents a SQL Server scalar function.

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

Syntax

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

The IScalarFunction type exposes the following members.

Properties

  Name Description
Public property DataType Gets the scalar data type. (Inherited from IScalar.)
Public property IsAggregateFunction Gets a value that indicates whether this is an aggregate function.
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 Parameters Gets a collection that contains the parameters that the function or module accepts. (Inherited from IFunctionModuleBase.)
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