UIConnectionInfo.CompareTo(UIConnectionInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Do not reference this member directly in your code. It supports the SQL Server infrastructure. Used to determine the sort order of the current UIConnectionInfo object in relation to another UIConnectionInfo object.
public:
virtual int CompareTo(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ other);
public int CompareTo (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo other);
abstract member CompareTo : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> int
override this.CompareTo : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> int
Public Function CompareTo (other As UIConnectionInfo) As Integer
Parameters
- other
- UIConnectionInfo
The UIConnectionInfo object to compare to the current object.
Returns
Do not reference this member directly in your code. It supports the SQL Server infrastructure. A Int32 value that is negative if the current object sorts before the other
object, 0
if they sort to the same location, and positive if the current object sorts after the other
object.
Implements
Remarks
UIConnectionInfo compare to determines sort order based on the ServerType, DisplayName, ServerName, UserName, and Id properties.