CompareTo 方法

此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。

命名空间:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
程序集:  Microsoft.SqlServer.RegSvrEnum(在 Microsoft.SqlServer.RegSvrEnum.dll 中)

语法

声明
Public Function CompareTo ( _
    other As UIConnectionInfo _
) As Integer
用法
Dim instance As UIConnectionInfo
Dim other As UIConnectionInfo
Dim returnValue As Integer

returnValue = instance.CompareTo(other)
public int CompareTo(
    UIConnectionInfo other
)
public:
virtual int CompareTo(
    UIConnectionInfo^ other
) sealed
abstract CompareTo : 
        other:UIConnectionInfo -> int 
override CompareTo : 
        other:UIConnectionInfo -> int 
public final function CompareTo(
    other : UIConnectionInfo
) : int

返回值

类型:System. . :: . .Int32

实现

IComparable< (Of < ( <'T> ) > ) >. . :: . .CompareTo(T)