Equality 演算子
2 つの UserDefinedFunctionEvent オブジェクトの等価演算を実行することによって、ユーザー定義関数イベントのセットを作成します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Shared Operator = ( _
a As UserDefinedFunctionEvent, _
b As UserDefinedFunctionEvent _
) As Boolean
'使用
Dim a As UserDefinedFunctionEvent
Dim b As UserDefinedFunctionEvent
Dim returnValue As Boolean
returnValue = (a = b)
public static bool operator ==(
UserDefinedFunctionEvent a,
UserDefinedFunctionEvent b
)
public:
static bool operator ==(
UserDefinedFunctionEvent^ a,
UserDefinedFunctionEvent^ b
)
static let inline (=)
a:UserDefinedFunctionEvent *
b:UserDefinedFunctionEvent : bool
JScript はオーバーロードされた演算子の使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- a
型: Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedFunctionEvent
ユーザー定義関数イベントを示す UserDefinedFunctionEvent オブジェクトです。
- b
型: Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedFunctionEvent
ユーザー定義関数イベントを示す UserDefinedFunctionEvent オブジェクトです。
戻り値
型: System. . :: . .Boolean
ユーザー定義関数イベントのセットを示す UserDefinedFunctionEventSet オブジェクトの値です。