次の方法で共有


Inequality 演算子 (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 値です。パラメーターが別の DAC ストアを参照しているかパラメーターのいずれか 1 つだけが NULL の場合は True、それ以外の場合は False を返します。