SQL Tools Service
Show / Hide Table of Contents
Improve this Doc View Source

Class ConnectionSummaryComparer

Treats connections as the same if their server, db and usernames all match

Inheritance
System.Object
ConnectionSummaryComparer
Namespace:Microsoft.SqlTools.ServiceLayer.Connection.Contracts
Assembly:Microsoft.SqlTools.ServiceLayer.dll
Syntax
public class ConnectionSummaryComparer : IEqualityComparer<ConnectionSummary>

Methods

| Improve this Doc View Source

Equals(ConnectionSummary, ConnectionSummary)

Declaration
public bool Equals(ConnectionSummary x, ConnectionSummary y)
Parameters
Type Name Description
ConnectionSummary x
ConnectionSummary y
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetHashCode(ConnectionSummary)

Declaration
public int GetHashCode(ConnectionSummary obj)
Parameters
Type Name Description
ConnectionSummary obj
Returns
Type Description
System.Int32
  • Improve this Doc
  • View Source

© Microsoft  //  Generated with DocFX