Partager via


Classe UIConnectionInfo

Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. The UIConnectionInfo class represents the information set in a SQL Server Management Studio connection dialog, and the associated connection to an instance of the SQL Server Database Engine.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly :  Microsoft.SqlServer.RegSvrEnum (en Microsoft.SqlServer.RegSvrEnum.dll)

Syntaxe

'Déclaration
Public Class UIConnectionInfo _
    Implements IComparable(Of UIConnectionInfo)
'Utilisation
Dim instance As UIConnectionInfo
public class UIConnectionInfo : IComparable<UIConnectionInfo>
public ref class UIConnectionInfo : IComparable<UIConnectionInfo^>
type UIConnectionInfo =  
    class 
        interface IComparable<UIConnectionInfo>
    end
public class UIConnectionInfo implements IComparable<UIConnectionInfo>

Le type UIConnectionInfo expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique UIConnectionInfo() Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Initializes a default UIConnectionInfo object for a SQL Server Management Studio connection dialog.
Méthode publique UIConnectionInfo(UIConnectionInfo) Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Initializes a new instance of the UIConnectionInfo class with the same properties as an existing UIConnectionInfo object and makes another connection to the associated server.
Méthode publique UIConnectionInfo(UIConnectionInfo, Boolean) Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.

Haut de la page

Propriétés

  Nom Description
Propriété publique AdvancedOptions Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets the advanced options set in a connection dialog.
Propriété publique ApplicationName Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets the name of the application in a connection dialog.
Propriété publique AuthenticationType Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication.
Propriété publique DisplayName Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a String value that specifies the display name of the connection.
Propriété publique EncryptedPassword Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets the encrypted password of the UIConnectionInfo.
Propriété publique Id Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets the connection identifier.
Propriété publique OtherParams Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets the other parameters for the connection.
Propriété publique Password Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a String value that specifies the login password for the connection when using SQL Server Authentication.
Propriété publique PersistPassword Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted.
Propriété publique ServerName Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a String value that specifies the name of the instance of the Database Engine for the connection.
Propriété publique ServerNameNoDot Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets a String value that specifies the name of the instance of the Database Engine for the connection. If only a period (.) was specified in the dialog, ServerNameNoDot returns (local).
Propriété publique ServerType Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a guid that identifies the type of server the connection uses.
Propriété publique ServerVersion Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection.
Propriété publique UserName Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a String value that specifies the login name for the connection.

Haut de la page

Méthodes

  Nom Description
Méthode publique CompareTo Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Used to determine the sort order of the current UIConnectionInfo object in relation to another UIConnectionInfo object.
Méthode publique Copy Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Creates a new UIConnectionInfo object based on the properties of the current object.
Méthode publique Equals Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Determines whether the specified Object is equal to the current Object. (remplace Object.Equals(Object).)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Returns the hash code for the specified type. (remplace Object.GetHashCode().)
Méthode publique GetType (hérité de Object.)
Méthode publiqueMembre statique LoadFromStream Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Loads a connection from the specified stream.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique SaveToStream Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Persists connection info to the specified XML stream.
Méthode publique ToString (hérité de Object.)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Equality(Object, UIConnectionInfo) Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Determines whether the specified Object is the same as the specified UIConnectionInfo object.
Opérateur publicMembre statique Equality(UIConnectionInfo, UIConnectionInfo) Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Determines whether two specified UIConnectionInfo objects are the same.
Opérateur publicMembre statique Equality(UIConnectionInfo, Object) Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Determines whether the specified UIConnectionInfo object is the same as the specified Object.
Opérateur publicMembre statique Inequality(Object, UIConnectionInfo) Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Determines whether the specified Object is different than the specified UIConnectionInfo object.
Opérateur publicMembre statique Inequality(UIConnectionInfo, UIConnectionInfo) Infrastructure. Determines whether two UIConnectionInfo objects are different.
Opérateur publicMembre statique Inequality(UIConnectionInfo, Object) Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Determines whether the specified UIConnectionInfo object is different than the specified Object.

Haut de la page

Champs

  Nom Description
Champ publicMembre statique XmlAdvancedOptions Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Champ publicMembre statique XmlAuthenticationType Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Champ publicMembre statique XmlDisplayName Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Champ publicMembre statique XmlItemTypeAttribute Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Champ publicMembre statique XmlPassword Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Champ publicMembre statique XmlServerName Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Champ publicMembre statique XmlServerType Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Champ publicMembre statique XmlStart Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Champ publicMembre statique XmlUserName Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.Smo.RegSvrEnum