Элементы ConnectionInfo
Parses a connection string and exposes several properties associated with the connection. This class cannot be inherited.
Тип ConnectionInfo предоставляет доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
ConnectionInfo | Initializes a new instance of the ConnectionInfo class using a connection string. |
В начало
Методы
Имя | Описание | |
---|---|---|
Equals | (Наследуется из Object.) | |
Finalize | (Наследуется из Object.) | |
GetHashCode | (Наследуется из Object.) | |
GetType | (Наследуется из Object.) | |
MemberwiseClone | (Наследуется из Object.) | |
ToString | (Наследуется из Object.) |
В начало
Свойства
Имя | Описание | |
---|---|---|
Catalog | Gets a catalog of databases associated with the ConnectionInfo object. | |
CharacterEncoding | Gets the character encoding value associated with the ConnectionInfo object. | |
CompressionLevel | Gets the compression level associated with the ConnectionInfo object. | |
ConnectionType | Gets the connection type associated with the ConnectionInfo object. | |
ConnectTimeout | Gets the connection timeout information associated with the ConnectionInfo object. | |
EncryptionPassword | Инфраструктура. | |
ExtendedProperties | Gets the extended properties associated with the ConnectionInfo object. | |
ImpersonationLevel | Gets the impersonation level associated with a ConnectionInfo object. | |
InstanceName | Gets the instance name associated with the ConnectionInfo object. | |
IntegratedSecurity | Gets the integrated security status for the ConnectionInfo object. | |
Location | Gets the location associated with the ConnectionInfo object. | |
PacketSize | Gets the packet size in bytes associated with a ConnectionInfo object. | |
Password | Gets the password associated with the ConnectionInfo object. | |
Port | Gets the port number associated with the ConnectionInfo object. | |
ProtectionLevel | Gets the protection level associated with a ConnectionInfo object. | |
ProtocolFormat | Gets the protocol format for the ConnectionInfo object. | |
Server | Gets the server name associated with a ConnectionInfo object. | |
Sspi | Gets the name of the SSPI package to use during the authentication process of the connection. | |
Timeout | Gets the timeout value associated with the ConnectionInfo object. | |
TransportCompression | Gets the TransportCompression object element with the ConnectionInfo object. | |
UseExistingFile | Gets the Boolean status of use existing file property of the ConnectionInfo object. | |
UserID | Gets the user identifier associated with the ConnectionInfo object. |
В начало