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
- synonym
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ISynonym
The object representing a synonym which is resolved.
- scalarValuedFunction
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IScalarValuedFunction
The object representing a resolved target of the synonym.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IResolvedScalarValuedFunctionSynonym
An IResolvedScalarValuedFunctionSynonym object.
See Also
Reference
IResolvedSynonymFactory Interface
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace