다음을 통해 공유


Equality 연산자

Determines whether two objects are unequal by performing an inequality operation on two DatabasePermissionSet objects.

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

구문

‘선언
Public Shared Operator = ( _
    p1 As DatabasePermissionSet, _
    p2 As DatabasePermissionSet _
) As Boolean
‘사용 방법
Dim p1 As DatabasePermissionSet
Dim p2 As DatabasePermissionSet
Dim returnValue As Boolean

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

매개 변수

반환 값

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