次の方法で共有


Equals メソッド (SfcKey)

指定した Key で識別されるオブジェクトが、ServerGroup..::..Key オブジェクトによって表されるサーバー グループと等しいかどうかを判定します。

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

構文

'宣言
Public Overrides Function Equals ( _
    key As SfcKey _
) As Boolean
'使用
Dim instance As ServerGroup..::..Key
Dim key As SfcKey
Dim returnValue As Boolean

returnValue = instance.Equals(key)
public override bool Equals(
    SfcKey key
)
public:
virtual bool Equals(
    SfcKey^ key
) override
abstract Equals : 
        key:SfcKey -> bool 
override Equals : 
        key:SfcKey -> bool 
public override function Equals(
    key : SfcKey
) : boolean

パラメーター

戻り値

型: System. . :: . .Boolean
Boolean 値。指定したオブジェクトが現在のサーバー グループと同じである場合は true です。それ以外の場合は false です。

実装

IEquatable< (Of < ( <'T> ) > ) >. . :: . .Equals(T)