Méthode NameKey.Equals (SfcKey)
Determines whether the object represented by the current NameKey is equal to the object represented by the specified key.
Espace de noms : Microsoft.SqlServer.Management.Utility
Assembly : Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)
Syntaxe
'Déclaration
Public Overrides Function Equals ( _
key As SfcKey _
) As Boolean
'Utilisation
Dim instance As NameKey
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
Paramètres
- key
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Specifies the SfcKey for the object to compare to the current NameKey.
Valeur de retour
Type : System.Boolean
A Boolean value that indicates whether the two objects are equal. If True, both objects are equal; otherwise, False.