다음을 통해 공유


Inequality 연산자

Creates a server event set by performing an inequality operation on two ServerEvent objects.

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

구문

‘선언
Public Shared Operator <> ( _
    a As ServerEvent, _
    b As ServerEvent _
) As Boolean
‘사용 방법
Dim a As ServerEvent
Dim b As ServerEvent
Dim returnValue As Boolean

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

매개 변수

반환 값

유형: System. . :: . .Boolean
A ServerEventSet object value that specifies a set of server events.