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