IResolvedSynonymFactory.CreateResolvedViewSynonym Method
Creates a resolved synonym object targeting a view.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Function CreateResolvedViewSynonym ( _
synonym As ISynonym, _
view As IView _
) As IResolvedViewSynonym
'Usage
Dim instance As IResolvedSynonymFactory
Dim synonym As ISynonym
Dim view As IView
Dim returnValue As IResolvedViewSynonym
returnValue = instance.CreateResolvedViewSynonym(synonym, _
view)
IResolvedViewSynonym CreateResolvedViewSynonym(
ISynonym synonym,
IView view
)
IResolvedViewSynonym^ CreateResolvedViewSynonym(
ISynonym^ synonym,
IView^ view
)
abstract CreateResolvedViewSynonym :
synonym:ISynonym *
view:IView -> IResolvedViewSynonym
function CreateResolvedViewSynonym(
synonym : ISynonym,
view : IView
) : IResolvedViewSynonym
Parameters
- synonym
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ISynonym
The object representing a synonym which is resolved.
- view
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IView
The object representing a resolved target of the synonym.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IResolvedViewSynonym
An IResolvedViewSynonym object.
See Also
Reference
IResolvedSynonymFactory Interface
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace