Equality 연산자

Determines whether two objects are equal by performing an equality operation on two Property objects.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Shared Operator = ( _
    prop1 As Property, _
    prop2 As Property _
) As Boolean
‘사용 방법
Dim prop1 As [Property]
Dim prop2 As [Property]
Dim returnValue As Boolean

returnValue = (prop1 = prop2)
public static bool operator ==(
    Property prop1,
    Property prop2
)
public:
static bool operator ==(
    Property^ prop1, 
    Property^ prop2
)
static let inline (=)
        prop1:Property * 
        prop2:Property  : bool
Jscript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.

매개 변수

반환 값

형식: System. . :: . .Boolean
A Boolean object that specifies whether the two specified objects are equal.
If True, the two specified objects are equal.
If False, the two specified objects are unequal.

예제

속성 설정