Share via


DacDomain.Key.Equals Method (SfcKey)

Determines whether the object associated with the specified SFC key is equal to the DAC domain represented by the DacDomain.Key object.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    key As SfcKey _
) As Boolean
'Usage
Dim instance As DacDomain..::..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

Parameters

Return Value

Type: System.Boolean
A Boolean value that specifies whether the compared object is equal to the DAC domain. If True, the objects are equal. Otherwise, False.

Implements

IEquatable<T>.Equals(T)