dotConnect for Snowflake Documentation
Devart.Data.Snowflake Namespace / SnowflakeLoaderColumn Class / SnowflakeLoaderColumn Constructor / SnowflakeLoaderColumn Constructor(String,SnowflakeType)
The name of the column.
Example

On this page
    SnowflakeLoaderColumn Constructor(String,SnowflakeType)
    On this page
    Initializes a new instance of the SnowflakeLoaderColumn class with the column name and column data type.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal name As String, _
       ByVal dbType As SnowflakeType _
    )
    public SnowflakeLoaderColumn( 
       string name,
       SnowflakeType dbType
    )

    Parameters

    name
    The name of the column.
    dbType
    Remarks
    Use this constructor to create a SnowflakeLoaderColumn instance with column name and column data type.
    Example
    The following example creates a SnowflakeLoaderColumn and sets some of its properties.
    public void CreateMyLoaderColumn()
    {
      SnowflakeLoaderColumn column = new SnowflakeLoaderColumn("DNAME", SnowflakeType.String);
      column.Size = 15;
    }
    Public Sub CreateMyLoaderColumn()
      Dim column As SnowflakeLoaderColumn
      column = New SnowflakeLoaderColumn("DNAME", SnowflakeType.String)
      column.Size = 15
    End Sub
    See Also