dotConnect for SQL Server Documentation
Devart.Common Namespace / SelectTableCollection Class / Add Method / Add(String,String,String,String) Method
The database, which the table belongs to.
The schema, which the table belongs to.
The name of the table that the SelectTable object should represent.
The alias of the table.

In This Topic
    Add(String,String,String,String) Method
    In This Topic
    Adds a newly created SelectTable object with the specified database, schema, name, and alias to the collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal database As String, _
       ByVal schema As String, _
       ByVal name As String, _
       ByVal alias As String _
    ) As SelectTable
    public SelectTable Add( 
       string database,
       string schema,
       string name,
       string alias
    )

    Parameters

    database
    The database, which the table belongs to.
    schema
    The schema, which the table belongs to.
    name
    The name of the table that the SelectTable object should represent.
    alias
    The alias of the table.

    Return Value

    The SelectTable object created.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also