SqlInt32.Divide(SqlInt32, SqlInt32) 方法

定义

将第一个 SqlInt32 参数除以第二个参数。Divides the first SqlInt32 parameter from the second.

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

参数

x
SqlInt32

SqlInt32 结构。A SqlInt32 structure.

y
SqlInt32

SqlInt32 结构。A SqlInt32 structure.

返回

一个 SqlInt32,它的 Value 属性包含该除法运算的结果。A SqlInt32 whose Value property contains the results of the division.

适用于

另请参阅