ServerEvent.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 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- a
型別:Microsoft.SqlServer.Management.Smo.ServerEvent
A ServerEvent object that specifies the server events.
- b
型別:Microsoft.SqlServer.Management.Smo.ServerEvent
A ServerEvent object that specifies the server events.
傳回值
型別:System.Boolean
A ServerEventSet object value that specifies a set of server events.