Export (0) Print
Expand All

SqlString.ToSqlInt16 Method

Converts this SqlString structure to SqlInt16.

[Visual Basic]
Public Function ToSqlInt16() As SqlInt16
[C#]
public SqlInt16 ToSqlInt16();
[C++]
public: SqlInt16 ToSqlInt16();
[JScript]
public function ToSqlInt16() : SqlInt16;

Return Value

A new SqlInt16 structure whose Value equals 1 if the SqlString structure's Value was true, otherwise the Value of the new SqlInt16 structure is 0.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SqlString Structure | SqlString Members | System.Data.SqlTypes Namespace

Show:
© 2015 Microsoft