ITabularFactory.CreateTableAlias Method
Creates a table alias for the specified ITabular object by using the specified alias.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Function CreateTableAlias ( _
aliasedTable As ITabular, _
alias As String _
) As ITabular
'Usage
Dim instance As ITabularFactory
Dim aliasedTable As ITabular
Dim alias As String
Dim returnValue As ITabular
returnValue = instance.CreateTableAlias(aliasedTable, _
alias)
ITabular CreateTableAlias(
ITabular aliasedTable,
string alias
)
ITabular^ CreateTableAlias(
ITabular^ aliasedTable,
String^ alias
)
abstract CreateTableAlias :
aliasedTable:ITabular *
alias:string -> ITabular
function CreateTableAlias(
aliasedTable : ITabular,
alias : String
) : ITabular
Parameters
- aliasedTable
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ITabular
The ITabular object to alias.
- alias
Type: System.String
The table alias.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ITabular
An ITabular object.
See Also
Reference
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace