ServerComparer Class
Represents the comparer class.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Common.ServerComparer
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Public NotInheritable Class ServerComparer _
Implements IComparer(Of String)
'Usage
Dim instance As ServerComparer
public sealed class ServerComparer : IComparer<string>
public ref class ServerComparer sealed : IComparer<String^>
[<SealedAttribute>]
type ServerComparer =
class
interface IComparer<string>
end
public final class ServerComparer implements IComparer<String>
The ServerComparer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ServerComparer(ServerConnection) | Initializes an instance of the ServerComparer class with information from the default database on the specified connection. | |
ServerComparer(ServerConnection, String) | Initializes an instance of the ServerComparer class with information from the specified database on the specified connection. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IComparer<String>.Compare | Compares two specified objects. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.