次の方法で共有


Equality 演算子 (DacDomain.Key, DacDomain.Key)

ブール等価演算を実行し、2 つの DACDomain キーが同じ DAC ドメインを参照しているかどうかを判断します。

名前空間:  Microsoft.SqlServer.Management.Dac
アセンブリ:  Microsoft.SqlServer.Management.Dac (Microsoft.SqlServer.Management.Dac.dll)

構文

'宣言
Public Shared Operator = ( _
    leftOperand As DacDomain..::..Key, _
    rightOperand As DacDomain..::..Key _
) As Boolean
'使用
Dim leftOperand As DacDomain..::..Key
Dim rightOperand As DacDomain..::..Key
Dim returnValue As Boolean

returnValue = (leftOperand = rightOperand)
public static bool operator ==(
    DacDomain..::..Key leftOperand,
    DacDomain..::..Key rightOperand
)
public:
static bool operator ==(
    DacDomain..::..Key^ leftOperand, 
    DacDomain..::..Key^ rightOperand
)
static let inline (=)
        leftOperand:DacDomain..::..Key * 
        rightOperand:DacDomain..::..Key  : bool
JScript はオーバーロードされた演算子の使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

戻り値

型: System. . :: . .Boolean
2 つの DAC ドメインが同じかどうかを示す Boolean 値です。両方のパラメーターが NULL であるか同じ DAC ドメインを参照している場合は True、それ以外の場合は False を返します。