SqlBinary.GreaterThan(SqlBinary, SqlBinary) 方法

定义

对两个 SqlBinary 结构进行比较,以确定第一个结构是否大于第二个结构。Compares two SqlBinary structures to determine whether the first is greater than the second.

public:
 static System::Data::SqlTypes::SqlBoolean GreaterThan(System::Data::SqlTypes::SqlBinary x, System::Data::SqlTypes::SqlBinary y);
public static System.Data.SqlTypes.SqlBoolean GreaterThan (System.Data.SqlTypes.SqlBinary x, System.Data.SqlTypes.SqlBinary y);
static member GreaterThan : System.Data.SqlTypes.SqlBinary * System.Data.SqlTypes.SqlBinary -> System.Data.SqlTypes.SqlBoolean
Public Shared Function GreaterThan (x As SqlBinary, y As SqlBinary) As SqlBoolean

参数

x
SqlBinary

SqlBinary 结构。A SqlBinary structure.

y
SqlBinary

SqlBinary 结构。A SqlBinary structure.

返回

SqlBoolean

一个 SqlBoolean,如果第一个实例大于第二个实例,则它为 TrueA SqlBoolean that is True if the first instance is greater than the second instance. 否则为 FalseOtherwise False. 如果 SqlBinary 的任一实例为空,则 ValueSqlBoolean 将为 NullIf either instance of SqlBinary is null, the Value of the SqlBoolean will be Null.

适用于