Share via


IResolvedSynonymFactory.CreateResolvedStoredProcedureSynonym Method

Creates a resolved synonym object targeting a stored procedure.

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

Syntax

'Declaration
Function CreateResolvedStoredProcedureSynonym ( _
    synonym As ISynonym, _
    storedProcedure As IStoredProcedure _
) As IResolvedStoredProcedureSynonym
'Usage
Dim instance As IResolvedSynonymFactory 
Dim synonym As ISynonym 
Dim storedProcedure As IStoredProcedure 
Dim returnValue As IResolvedStoredProcedureSynonym 

returnValue = instance.CreateResolvedStoredProcedureSynonym(synonym, _
    storedProcedure)
IResolvedStoredProcedureSynonym CreateResolvedStoredProcedureSynonym(
    ISynonym synonym,
    IStoredProcedure storedProcedure
)
IResolvedStoredProcedureSynonym^ CreateResolvedStoredProcedureSynonym(
    ISynonym^ synonym, 
    IStoredProcedure^ storedProcedure
)
abstract CreateResolvedStoredProcedureSynonym : 
        synonym:ISynonym * 
        storedProcedure:IStoredProcedure -> IResolvedStoredProcedureSynonym
function CreateResolvedStoredProcedureSynonym(
    synonym : ISynonym, 
    storedProcedure : IStoredProcedure
) : IResolvedStoredProcedureSynonym

Parameters

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IResolvedStoredProcedureSynonym
A IResolvedStoredProcedureSynonymobject.

See Also

Reference

IResolvedSynonymFactory Interface

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace