SqlBoolean.ToSqlString SqlBoolean.ToSqlString SqlBoolean.ToSqlString SqlBoolean.ToSqlString Method

Definition

Converts this SqlBoolean structure to SqlString.

public:
 System::Data::SqlTypes::SqlString ToSqlString();
public System.Data.SqlTypes.SqlString ToSqlString ();
member this.ToSqlString : unit -> System.Data.SqlTypes.SqlString
Public Function ToSqlString () As SqlString

Returns

A new SqlString structure whose value is 1 or 0. If the SqlBoolean structure's value equals true then SqlString structure's value is 1. Otherwise, the new SqlString structure's value is 0.

Applies to

See also