Класс MultiServerSqlConnectionInfo

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

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.MultiServerConnection
Сборка:  Microsoft.SqlServer.Management.MultiServerConnection (в Microsoft.SqlServer.Management.MultiServerConnection.dll)

Синтаксис

'Декларация
Public Class MultiServerSqlConnectionInfo _
    Inherits UIConnectionInfo
'Применение
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

Тип MultiServerSqlConnectionInfo обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод MultiServerSqlConnectionInfo() () () () Initializes a new instance of the MultiServerSqlConnectionInfo class.
Открытый метод MultiServerSqlConnectionInfo(UIConnectionInfo) Initializes a new instance of the MultiServerSqlConnectionInfo class with the specified connection information.

В начало

Свойства

  Имя Описание
Открытое свойство AdvancedOptions Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Gets the advanced options set in a connection dialog. (Производный от UIConnectionInfo.)
Открытое свойство ApplicationName Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Gets or sets the name of the application in a connection dialog. (Производный от UIConnectionInfo.)
Открытое свойство AuthenticationType Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication. (Производный от UIConnectionInfo.)
Открытое свойство ConnectionProtocolString Specifies the name of the network protocol to use for the connection.
Открытое свойство ConnectionTimeout Gets or sets the connection timeout interval to the server, in seconds.
Открытое свойство DefaultDatabaseName Gets or sets the name of the database to connect to by default.
Открытое свойство DisplayName Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Gets or sets a String value that specifies the display name of the connection. (Производный от UIConnectionInfo.)
Открытое свойство EncryptConnection Gets or sets a value specifying whether the connection will be encrypted.
Открытое свойство EncryptedPassword Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Gets or sets the encrypted password of the UIConnectionInfo. (Производный от UIConnectionInfo.)
Открытое свойство ExecutionTimeout Gets or sets the execution timeout interval for a Transact-SQL batch, in seconds.
Открытое свойство Id Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Gets the connection identifier. (Производный от UIConnectionInfo.)
Открытое свойство NetworkProtocol Specifies the type of network protocol that will be used by the connection.
Открытое свойство PacketSize Gets or sets size, in bytes, of the TCP packets used by the connection.
Открытое свойство Password Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Gets or sets a String value that specifies the login password for the connection when using SQL Server Authentication. (Производный от UIConnectionInfo.)
Открытое свойство PersistPassword Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted. (Производный от UIConnectionInfo.)
Открытое свойство ServerName Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Gets or sets a String value that specifies the name of the instance of the Database Engine for the connection. (Производный от UIConnectionInfo.)
Открытое свойство ServerNameNoDot Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры 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). (Производный от UIConnectionInfo.)
Открытое свойство ServerType Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Gets or sets a guid that identifies the type of server the connection uses. (Производный от UIConnectionInfo.)
Открытое свойство ServerVersion Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection. (Производный от UIConnectionInfo.)
Открытое свойство UserName Gets or sets the name of the login to use when connecting. (Переопределяет UIConnectionInfo. . :: . .UserName.)
Открытое свойство UseWindowsAuthentication Gets or sets a value indicating whether Windows Integrated Security Authentication will be used.
Открытое свойство WorkstationId Gets or sets the name of the client machine submitting the Transact-SQL batch.

В начало

Методы

  Имя Описание
Открытый метод CompareTo Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Used to determine the sort order of the current UIConnectionInfo object in relation to another UIConnectionInfo object. (Производный от UIConnectionInfo.)
Открытый метод Copy Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Creates a new UIConnectionInfo object based on the properties of the current object. (Производный от UIConnectionInfo.)
Открытый метод CreateSqlConnection Creates a connection to the server.
Открытый метод Equals Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Determines whether the specified Object is equal to the current Object. (Производный от UIConnectionInfo.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Returns the hash code for the specified type. (Производный от UIConnectionInfo.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод SaveToStream Инфраструктура. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Persists connection info to the specified XML stream. (Производный от UIConnectionInfo.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.