Share via


IBuiltInFunctionLookup.GetMultiTypeBuiltInFunction Method

Returns an IBuiltInFunction object that represents a built-in function that has a multitype return value (such as a CAST, CONVERT or IDENTITY function). The IBuiltInFunction object returns the specified system data type instead of the generic return type.

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

Syntax

'Declaration
Function GetMultiTypeBuiltInFunction ( _
    name As String, _
    dataType As ISystemDataType _
) As IBuiltInFunction
'Usage
Dim instance As IBuiltInFunctionLookup 
Dim name As String 
Dim dataType As ISystemDataType 
Dim returnValue As IBuiltInFunction 

returnValue = instance.GetMultiTypeBuiltInFunction(name, _
    dataType)
IBuiltInFunction GetMultiTypeBuiltInFunction(
    string name,
    ISystemDataType dataType
)
IBuiltInFunction^ GetMultiTypeBuiltInFunction(
    String^ name, 
    ISystemDataType^ dataType
)
abstract GetMultiTypeBuiltInFunction : 
        name:string * 
        dataType:ISystemDataType -> IBuiltInFunction
function GetMultiTypeBuiltInFunction(
    name : String, 
    dataType : ISystemDataType
) : IBuiltInFunction

Parameters

  • name
    Type: System.String
    The name of the function name to retrieve.

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IBuiltInFunction
An IBuiltInFunction object.

See Also

Reference

IBuiltInFunctionLookup Interface

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace