Partilhar via


Método SyncServerInfo.op_Equality

Determina se os dois objetos SyncServerInfo especificados são iguais.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (em microsoft.synchronization.data.dll)

Sintaxe

'Declaração
Public Shared Operator = ( _
    syncServerInfo1 As SyncServerInfo, _
    syncServerInfo2 As SyncServerInfo _
) As Boolean
'Uso
Dim syncServerInfo1 As SyncServerInfo
Dim syncServerInfo2 As SyncServerInfo
Dim returnValue As Boolean

returnValue = (syncServerInfo1 = syncServerInfo2)
public static bool operator == (
    SyncServerInfo syncServerInfo1,
    SyncServerInfo syncServerInfo2
)
public:
static bool operator == (
    SyncServerInfo syncServerInfo1, 
    SyncServerInfo syncServerInfo2
)
J# does not support overloaded operators.
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parâmetros

  • syncServerInfo1
  • syncServerInfo2

Valor de retorno

true se si1 e si2 fizerem referência ao mesmo objeto SyncServerInfo; caso contrário, false.

Consulte também

Referência

Estrutura SyncServerInfo
Membros SyncServerInfo
Namespace Microsoft.Synchronization.Data