Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ToSqlInt32 Method

SqlBoolean.ToSqlInt32 Method

Converts this SqlBoolean structure to SqlInt32.

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

Return Value

A new SqlInt32 structure whose Value equals 1 if the SqlBoolean structure's Value was true, otherwise the Value of the new SqlInt32 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

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

Show:
© 2015 Microsoft