CollectionItem.Key.Equals Method (SfcKey)
Instantiates an instance of the [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key.Equals] class that is used for boolean operations.
Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
    key As SfcKey _
) As Boolean
'Usage
Dim instance As CollectionItem..::..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
- key
 Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
 A Key object.
Return Value
Type: System.Boolean
A Key object that is the key.
Implements
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.