Opérateur Equality
Determines whether the two specified objects have the same value.
Espace de noms : Microsoft.SqlServer.Dts.Runtime
Assembly : Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Syntaxe
'Déclaration
Public Shared Operator = ( _
dtsObj1 As DtsObject, _
dtsObj2 As DtsObject _
) As Boolean
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.
Paramètres
- dtsObj1
Type : Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
The object to compare against dtsObj2.
- dtsObj2
Type : Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
The object to compare against dtsObj1.
Valeur de retour
Type : System. . :: . .Boolean
true if the value of dtsObj1 is the same as the value of dtsObj2; otherwise, false.