Dela via


SfcProperty.Equality Operator

Determines whether two objects are equal by performing an equality operation on two Property objects. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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 supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

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