Condividi tramite


Operatore Inequality (Object, DacDomain.Key)

Performs a Boolean inequality operation to determine whether a specified object is different than the DAC domain associated with a specified DACDomain key.

Spazio dei nomi  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Sintassi

'Dichiarazione
Public Shared Operator <> ( _
    obj As Object, _
    rightOperand As DacDomain..::..Key _
) As Boolean
'Utilizzo
Dim obj As Object
Dim rightOperand As DacDomain..::..Key
Dim returnValue As Boolean

returnValue = (obj <> rightOperand)
public static bool operator !=(
    Object obj,
    DacDomain..::..Key rightOperand
)
public:
static bool operator !=(
    Object^ obj, 
    DacDomain..::..Key^ rightOperand
)
static let inline (<>)
        obj:Object * 
        rightOperand:DacDomain..::..Key  : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: System. . :: . .Boolean
A Boolean value specifying whether the two DAC domains are different. Returns True if the parameters reference different DAC stores, or if only one of the parameters is null. Otherwise, returns False.