BuiltInFunctionLookupBase.GetMultiTypeBuiltInFunction Method
Returns an IBuiltInFunction object that represents a built-in function that has a multi-type return value (for example, 'CAST', 'CONVERT' and IDENTITY' functions). The returned instance has its generic return type replaced by the specified ISystemDataType.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Overridable Function GetMultiTypeBuiltInFunction ( _
name As String, _
dataType As ISystemDataType _
) As IBuiltInFunction
'Usage
Dim instance As BuiltInFunctionLookupBase
Dim name As String
Dim dataType As ISystemDataType
Dim returnValue As IBuiltInFunction
returnValue = instance.GetMultiTypeBuiltInFunction(name, _
dataType)
public virtual IBuiltInFunction GetMultiTypeBuiltInFunction(
string name,
ISystemDataType dataType
)
public:
virtual IBuiltInFunction^ GetMultiTypeBuiltInFunction(
String^ name,
ISystemDataType^ dataType
)
abstract GetMultiTypeBuiltInFunction :
name:string *
dataType:ISystemDataType -> IBuiltInFunction
override GetMultiTypeBuiltInFunction :
name:string *
dataType:ISystemDataType -> IBuiltInFunction
public function GetMultiTypeBuiltInFunction(
name : String,
dataType : ISystemDataType
) : IBuiltInFunction
Parameters
- name
Type: System.String
The function name to retrieve.
- dataType
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ISystemDataType
The data type to replace the generic return type with.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IBuiltInFunction
An IBuiltInFunction object that represents a built-in function that has a multi type return value (for example, 'CAST', 'CONVERT' and IDENTITY' functions). The returned instance has its generic return type replaced by the specified ISystemDataType
Implements
IBuiltInFunctionLookup.GetMultiTypeBuiltInFunction(String, ISystemDataType)
Remarks
When you inherit from IBuiltInFunction, if you are providing your own built-in object list, you must override this method. Otherwise, the base class implementation of the method returns a null reference.
See Also
Reference
BuiltInFunctionLookupBase Class
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace