dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlLoaderColumnCollection Class / Add Method / Add(String,Type) Method
The name of the column.
The data type of the column.

In This Topic
    Add(String,Type) Method
    In This Topic
    Adds a SqlLoaderColumn to the SqlLoaderColumnCollection given the column name and column data type.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal name As String, _
       ByVal type As Type _
    ) As Integer
    public int Add( 
       string name,
       Type type
    )

    Parameters

    name
    The name of the column.
    type
    The data type of the column.

    Return Value

    The new column's ordinal.
    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