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.