Share via


SfcConnection.Equals Method (SfcConnection)

Determines whether the specified connection object is equal to the current connection object.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public MustOverride Function Equals ( _
    connection As SfcConnection _
) As Boolean
'Usage
Dim instance As SfcConnection
Dim connection As SfcConnection
Dim returnValue As Boolean

returnValue = instance.Equals(connection)
public abstract bool Equals(
    SfcConnection connection
)
public:
virtual bool Equals(
    SfcConnection^ connection
) abstract
abstract Equals : 
        connection:SfcConnection -> bool 
public abstract function Equals(
    connection : SfcConnection
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the two objects are equal; otherwise, false.