Compartir a través de


Clase UIConnectionInfo

No haga referencia directamente a este miembro en el código. Admite la infraestructura de 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.

Jerarquía de herencia

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo.RegSvrEnum..::..UIConnectionInfo
    Microsoft.SqlServer.Management.MultiServerConnection. . :: . .MultiServerSqlConnectionInfo

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Ensamblado:  Microsoft.SqlServer.RegSvrEnum (en Microsoft.SqlServer.RegSvrEnum.dll)

Sintaxis

'Declaración
Public Class UIConnectionInfo _
    Implements IComparable(Of UIConnectionInfo)
'Uso
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>

El tipo UIConnectionInfo expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público UIConnectionInfo() () () () Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Initializes a default UIConnectionInfo object for a SQL Server Management Studio connection dialog.
Método público UIConnectionInfo(UIConnectionInfo) Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de 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étodo público UIConnectionInfo(UIConnectionInfo, Boolean) Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública AdvancedOptions Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets the advanced options set in a connection dialog.
Propiedad pública ApplicationName Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets or sets the name of the application in a connection dialog.
Propiedad pública AuthenticationType Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication.
Propiedad pública DisplayName Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets or sets a String value that specifies the display name of the connection.
Propiedad pública EncryptedPassword Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets or sets the encrypted password of the UIConnectionInfo.
Propiedad pública Id Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets the connection identifier.
Propiedad pública Password Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets or sets a String value that specifies the login password for the connection when using SQL Server Authentication.
Propiedad pública PersistPassword Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted.
Propiedad pública ServerName Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets or sets a String value that specifies the name of the instance of the Database Engine for the connection.
Propiedad pública ServerNameNoDot Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de 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).
Propiedad pública ServerType Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets or sets a guid that identifies the type of server the connection uses.
Propiedad pública ServerVersion Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection.
Propiedad pública UserName Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Gets or sets a String value that specifies the login name for the connection.

Arriba

Métodos

  Nombre Descripción
Método público CompareTo Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Used to determine the sort order of the current UIConnectionInfo object in relation to another UIConnectionInfo object.
Método público Copy Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Creates a new UIConnectionInfo object based on the properties of the current object.
Método público Equals Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Determines whether the specified Object is equal to the current Object. (Invalida Object. . :: . .Equals(Object).)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Returns the hash code for the specified type. (Invalida Object. . :: . .GetHashCode() () () ().)
Método público GetType (Se hereda de Object.)
Método públicoMiembro estático LoadFromStream Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Loads a connection from the specified stream.
Método protegido MemberwiseClone (Se hereda de Object.)
Método público SaveToStream Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Persists connection info to the specified XML stream.
Método público ToString (Se hereda de Object.)

Arriba

Operadores

  Nombre Descripción
Operador públicoMiembro estático Equality(Object, UIConnectionInfo) Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Determines whether the specified Object is the same as the specified UIConnectionInfo object.
Operador públicoMiembro estático Equality(UIConnectionInfo, UIConnectionInfo) No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Determines whether two specified UIConnectionInfo objects are the same.
Operador públicoMiembro estático Equality(UIConnectionInfo, Object) Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Determines whether the specified UIConnectionInfo object is the same as the specified Object.
Operador públicoMiembro estático Inequality(Object, UIConnectionInfo) Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Determines whether the specified Object is different than the specified UIConnectionInfo object.
Operador públicoMiembro estático Inequality(UIConnectionInfo, UIConnectionInfo) Infraestructura. Determines whether two UIConnectionInfo objects are different.
Operador públicoMiembro estático Inequality(UIConnectionInfo, Object) Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Determines whether the specified UIConnectionInfo object is different than the specified Object.

Arriba

Campos

  Nombre Descripción
Campo públicoMiembro estático XmlAdvancedOptions Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Campo públicoMiembro estático XmlAuthenticationType Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Campo públicoMiembro estático XmlDisplayName Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Campo públicoMiembro estático XmlItemTypeAttribute Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Campo públicoMiembro estático XmlPassword Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Campo públicoMiembro estático XmlServerName Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Campo públicoMiembro estático XmlServerType Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Campo públicoMiembro estático XmlStart Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Campo públicoMiembro estático XmlUserName Infraestructura. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.