Share via


IResolvedSynonymFactory.CreateResolvedScalarValuedFunctionSynonym Method

Creates a resolved synonym object targeting a scalar valued function.

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

Syntax

'Declaration
Function CreateResolvedScalarValuedFunctionSynonym ( _
    synonym As ISynonym, _
    scalarValuedFunction As IScalarValuedFunction _
) As IResolvedScalarValuedFunctionSynonym
'Usage
Dim instance As IResolvedSynonymFactory 
Dim synonym As ISynonym 
Dim scalarValuedFunction As IScalarValuedFunction 
Dim returnValue As IResolvedScalarValuedFunctionSynonym 

returnValue = instance.CreateResolvedScalarValuedFunctionSynonym(synonym, _
    scalarValuedFunction)
IResolvedScalarValuedFunctionSynonym CreateResolvedScalarValuedFunctionSynonym(
    ISynonym synonym,
    IScalarValuedFunction scalarValuedFunction
)
IResolvedScalarValuedFunctionSynonym^ CreateResolvedScalarValuedFunctionSynonym(
    ISynonym^ synonym, 
    IScalarValuedFunction^ scalarValuedFunction
)
abstract CreateResolvedScalarValuedFunctionSynonym : 
        synonym:ISynonym * 
        scalarValuedFunction:IScalarValuedFunction -> IResolvedScalarValuedFunctionSynonym
function CreateResolvedScalarValuedFunctionSynonym(
    synonym : ISynonym, 
    scalarValuedFunction : IScalarValuedFunction
) : IResolvedScalarValuedFunctionSynonym

Parameters

Return Value

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

See Also

Reference

IResolvedSynonymFactory Interface

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace