ServerComparer 类
Represents the comparer class.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Common..::..ServerComparer
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public NotInheritable Class ServerComparer _
Implements IComparer(Of String)
用法
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>
ServerComparer 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
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. |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
![]() ![]() |
IComparer< (Of < <' (String> ) > > ). . :: . .Compare | Compares two specified objects. |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。