Compartilhar via


Classe UIConnectionInfo

Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do 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.

Hierarquia de herança

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

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (em Microsoft.SqlServer.RegSvrEnum.dll)

Sintaxe

'Declaração
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>

O tipo UIConnectionInfo expõe os membros a seguir.

Construtores

  Nome Descrição
Método público UIConnectionInfo() Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Initializes a default UIConnectionInfo object for a SQL Server Management Studio connection dialog.
Método público UIConnectionInfo(UIConnectionInfo) Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do 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) Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.

Início

Propriedades

  Nome Descrição
Propriedade pública AdvancedOptions Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets the advanced options set in a connection dialog.
Propriedade pública ApplicationName Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets or sets the name of the application in a connection dialog.
Propriedade pública AuthenticationType Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication.
Propriedade pública DisplayName Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets or sets a String value that specifies the display name of the connection.
Propriedade pública EncryptedPassword Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets or sets the encrypted password of the UIConnectionInfo.
Propriedade pública Id Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets the connection identifier.
Propriedade pública OtherParams Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets or sets the other parameters for the connection.
Propriedade pública Password Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets or sets a String value that specifies the login password for the connection when using SQL Server Authentication.
Propriedade pública PersistPassword Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted.
Propriedade pública ServerName Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets or sets a String value that specifies the name of the instance of the Database Engine for the connection.
Propriedade pública ServerNameNoDot Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do 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).
Propriedade pública ServerType Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets or sets a guid that identifies the type of server the connection uses.
Propriedade pública ServerVersion Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection.
Propriedade pública UserName Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Gets or sets a String value that specifies the login name for the connection.

Início

Métodos

  Nome Descrição
Método público CompareTo Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Used to determine the sort order of the current UIConnectionInfo object in relation to another UIConnectionInfo object.
Método público Copy Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Creates a new UIConnectionInfo object based on the properties of the current object.
Método público Equals Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Determines whether the specified Object is equal to the current Object. (Substitui Object.Equals(Object).)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Returns the hash code for the specified type. (Substitui Object.GetHashCode().)
Método público GetType (Herdado de Object.)
Método públicoMembro estático LoadFromStream Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Loads a connection from the specified stream.
Método protegido MemberwiseClone (Herdado de Object.)
Método público SaveToStream Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Persists connection info to the specified XML stream.
Método público ToString (Herdado de Object.)

Início

Operadores

  Nome Descrição
Operador públicoMembro estático Equality(Object, UIConnectionInfo) Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Determines whether the specified Object is the same as the specified UIConnectionInfo object.
Operador públicoMembro estático Equality(UIConnectionInfo, UIConnectionInfo) Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Determines whether two specified UIConnectionInfo objects are the same.
Operador públicoMembro estático Equality(UIConnectionInfo, Object) Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Determines whether the specified UIConnectionInfo object is the same as the specified Object.
Operador públicoMembro estático Inequality(Object, UIConnectionInfo) Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Determines whether the specified Object is different than the specified UIConnectionInfo object.
Operador públicoMembro estático Inequality(UIConnectionInfo, UIConnectionInfo) Infraestrutura. Determines whether two UIConnectionInfo objects are different.
Operador públicoMembro estático Inequality(UIConnectionInfo, Object) Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Determines whether the specified UIConnectionInfo object is different than the specified Object.

Início

Campos

  Nome Descrição
Campo públicoMembro estático XmlAdvancedOptions Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Campo públicoMembro estático XmlAuthenticationType Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Campo públicoMembro estático XmlDisplayName Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Campo públicoMembro estático XmlItemTypeAttribute Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Campo públicoMembro estático XmlPassword Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Campo públicoMembro estático XmlServerName Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Campo públicoMembro estático XmlServerType Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Campo públicoMembro estático XmlStart Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Campo públicoMembro estático XmlUserName Infraestrutura. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Management.Smo.RegSvrEnum