Freigeben über


SyncServerInfo.op_Equality-Methode

Stellt fest, ob die beiden angegebenen SyncServerInfo-Objekte gleich sind.

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

Syntax

'Declaration
Public Shared Operator = ( _
    syncServerInfo1 As SyncServerInfo, _
    syncServerInfo2 As SyncServerInfo _
) As Boolean
'Usage
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.

Parameter

  • syncServerInfo1
  • syncServerInfo2

Rückgabewert

true, wenn si1 und si2 auf dasselbe SyncServerInfo-Objekt verweisen, andernfalls false.

Siehe auch

Verweis

SyncServerInfo-Struktur
SyncServerInfo-Member
Microsoft.Synchronization.Data-Namespace