Compartilhar via


Operador Equality

Determines whether two instances of MiningModel are equal.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public Shared Operator = ( _
    o1 As MiningModel, _
    o2 As MiningModel _
) As Boolean
'Uso
Dim o1 As MiningModel
Dim o2 As MiningModel
Dim returnValue As Boolean

returnValue = (o1 = o2)
public static bool operator ==(
    MiningModel o1,
    MiningModel o2
)
public:
static bool operator ==(
    MiningModel^ o1, 
    MiningModel^ o2
)
static let inline (=)
        o1:MiningModel * 
        o2:MiningModel  : bool
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.

Valor de retorno

Tipo: System. . :: . .Boolean
true if o1 and o2 represent the same MiningModel; false otherwise.