dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlParameter Class / SqlType Property

In This Topic
    SqlType Property
    In This Topic
    Gets or sets the SqlType of the parameter.
    Syntax
    'Declaration
     
    Public Property SqlType As SqlType
    public SqlType SqlType {get; set;}

    Property Value

    A SqlType value that is the SqlType of the parameter.
    Remarks
    The SqlType and DbType are linked. Therefore, setting the DbType changes the SqlType to a supporting SqlType.

    For a list of the supported data types, see the appropriate SqlType member. For more information, see "Using Parameters with a DataAdapter" in the Microsoft .NET Framework SDK documentation.

    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