Freigeben über


SfcProperty.Equality-Operator

Determines whether two objects are equal by performing an equality operation on two Property objects. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    prop1 As SfcProperty, _
    prop2 As SfcProperty _
) As Boolean
'Usage
Dim prop1 As SfcProperty 
Dim prop2 As SfcProperty 
Dim returnValue As Boolean 

returnValue = (prop1 = prop2)
public static bool operator ==(
    SfcProperty prop1,
    SfcProperty prop2
)
public:
static bool operator ==(
    SfcProperty^ prop1, 
    SfcProperty^ prop2
)
static let inline(=)
        prop1:SfcProperty * 
        prop2:SfcProperty  : bool
JScript unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

Typ: System.Boolean
true when the two specified objects are equal; otherwise, false.

Siehe auch

Verweis

SfcProperty Klasse

Microsoft.SqlServer.Management.Sdk.Sfc-Namespace