Classe UIConnectionInfo
Ne référencez pas directement 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
Microsoft.SqlServer.Management.MultiServerConnection. . :: . .MultiServerSqlConnectionInfo
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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets the connection identifier. |
![]() |
Password | Infrastructure. Ne référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement 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 référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlAuthenticationType | Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlDisplayName | Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlItemTypeAttribute | Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlPassword | Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlServerName | Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlServerType | Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlStart | Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() ![]() |
XmlUserName | Infrastructure. Ne référencez pas directement 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.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)