다음을 통해 공유


Inequality 연산자

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

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

구문

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

returnValue = (p1 <> p2)
public static bool operator !=(
    ObjectPermissionSet p1,
    ObjectPermissionSet p2
)
public:
static bool operator !=(
    ObjectPermissionSet^ p1, 
    ObjectPermissionSet^ p2
)
static let inline (<>)
        p1:ObjectPermissionSet * 
        p2:ObjectPermissionSet  : 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.