DtsObject.Equality 运算符
Determines whether the two specified objects have the same value.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Shared Operator = ( _
dtsObj1 As DtsObject, _
dtsObj2 As DtsObject _
) As Boolean
用法
Dim dtsObj1 As DtsObject
Dim dtsObj2 As DtsObject
Dim returnValue As Boolean
returnValue = (dtsObj1 = dtsObj2)
public static bool operator ==(
DtsObject dtsObj1,
DtsObject dtsObj2
)
public:
static bool operator ==(
DtsObject^ dtsObj1,
DtsObject^ dtsObj2
)
static let inline(=)
dtsObj1:DtsObject *
dtsObj2:DtsObject : bool
JScript 支持使用重载的运算符,但不支持声明新重载运算符。
参数
- dtsObj1
类型:Microsoft.SqlServer.Dts.Runtime.DtsObject
The object to compare against dtsObj2.
- dtsObj2
类型:Microsoft.SqlServer.Dts.Runtime.DtsObject
The object to compare against dtsObj1.
返回值
类型:System.Boolean
true if the value of dtsObj1 is the same as the value of dtsObj2; otherwise, false.