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 | |
---|---|---|
![]() |
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. |
![]() |
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. |
![]() |
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 | |
---|---|---|
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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). |
![]() |
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. |
![]() |
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. |
![]() |
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 | |
---|---|---|
![]() |
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. |
![]() |
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. |
![]() |
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).) |
![]() |
Finalize | (hérité de Object.) |
![]() |
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().) |
![]() |
GetType | (hérité de Object.) |
![]() ![]() |
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. |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
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. |
![]() |
ToString | (hérité de Object.) |
Haut de la page
Opérateurs
Nom | Description | |
---|---|---|
![]() ![]() |
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. |
![]() ![]() |
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. |
![]() ![]() |
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. |
![]() ![]() |
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. |
![]() ![]() |
Inequality(UIConnectionInfo, UIConnectionInfo) | Infrastructure. Determines whether two UIConnectionInfo objects are different. |
![]() ![]() |
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 | |
---|---|---|
![]() ![]() |
XmlAdvancedOptions | Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlAuthenticationType | Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlDisplayName | Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlItemTypeAttribute | Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlPassword | Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlServerName | Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlServerType | Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlStart | Infrastructure. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
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