UIConnectionInfo.CompareTo(UIConnectionInfo) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ne faites pas référence directement à ce membre dans votre code. Il prend en charge l’infrastructure SQL Server. Utilisé pour déterminer l’ordre de tri de l’objet courant UIConnectionInfo par rapport à un autre UIConnectionInfo objet.
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
Paramètres
- other
- UIConnectionInfo
L’objet UIConnectionInfo à comparer à l’objet actuel.
Retours
Ne faites pas référence directement à ce membre dans votre code. Il prend en charge l’infrastructure SQL Server. Une valeur négative si l’objet en cours trie avant l’objetother, s’il trie Int32 au même endroit, et positive si l’objet en cours trie après l’objet other0.
Implémente
Remarques
UIConnectionInfo comparer à détermine l’ordre de tri basé sur les ServerType, DisplayName, ServerName, UserName, et Id propriétés.