Compartilhar via


Classe MultiServerSqlConnectionInfo

Contains SQL Server connection information that is used by Transact-SQL query editors.

Hierarquia de herança

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

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (em Microsoft.SqlServer.Management.MultiServerConnection.dll)

Sintaxe

'Declaração
Public Class MultiServerSqlConnectionInfo _
    Inherits UIConnectionInfo
'Uso
Dim instance As MultiServerSqlConnectionInfo
public class MultiServerSqlConnectionInfo : UIConnectionInfo
public ref class MultiServerSqlConnectionInfo : public UIConnectionInfo
type MultiServerSqlConnectionInfo =  
    class
        inherit UIConnectionInfo
    end
public class MultiServerSqlConnectionInfo extends UIConnectionInfo

O tipo MultiServerSqlConnectionInfo expõe os membros a seguir.

Construtores

  Nome Descrição
Método público MultiServerSqlConnectionInfo() () () () Initializes a new instance of the MultiServerSqlConnectionInfo class.
Método público MultiServerSqlConnectionInfo(UIConnectionInfo) Initializes a new instance of the MultiServerSqlConnectionInfo class with the specified connection information.

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. (Herdado de UIConnectionInfo.)
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. (Herdado de UIConnectionInfo.)
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. (Herdado de UIConnectionInfo.)
Propriedade pública ConnectionProtocolString Specifies the name of the network protocol to use for the connection.
Propriedade pública ConnectionTimeout Gets or sets the connection timeout interval to the server, in seconds.
Propriedade pública DefaultDatabaseName Gets or sets the name of the database to connect to by default.
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. (Herdado de UIConnectionInfo.)
Propriedade pública EncryptConnection Gets or sets a value specifying whether the connection will be encrypted.
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. (Herdado de UIConnectionInfo.)
Propriedade pública ExecutionTimeout Gets or sets the execution timeout interval for a Transact-SQL batch, in seconds.
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. (Herdado de UIConnectionInfo.)
Propriedade pública NetworkProtocol Specifies the type of network protocol that will be used by the connection.
Propriedade pública PacketSize Gets or sets size, in bytes, of the TCP packets used by 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. (Herdado de UIConnectionInfo.)
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. (Herdado de UIConnectionInfo.)
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. (Herdado de UIConnectionInfo.)
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). (Herdado de UIConnectionInfo.)
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. (Herdado de UIConnectionInfo.)
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. (Herdado de UIConnectionInfo.)
Propriedade pública UserName Gets or sets the name of the login to use when connecting. (Substitui UIConnectionInfo. . :: . .UserName.)
Propriedade pública UseWindowsAuthentication Gets or sets a value indicating whether Windows Integrated Security Authentication will be used.
Propriedade pública WorkstationId Gets or sets the name of the client machine submitting the Transact-SQL batch.

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. (Herdado de UIConnectionInfo.)
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. (Herdado de UIConnectionInfo.)
Método público CreateSqlConnection Creates a connection to the server.
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. (Herdado de UIConnectionInfo.)
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. (Herdado de UIConnectionInfo.)
Método público GetType (Herdado de Object.)
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. (Herdado de UIConnectionInfo.)
Método público ToString (Herdado de Object.)

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.