ConnectionInfo Members
Parses a connection string and exposes several properties associated with the connection. This class cannot be inherited.
The following tables list the members exposed by the ConnectionInfo type.
Public Constructors
名称 | Description | |
---|---|---|
ConnectionInfo | Initializes a new instance of the ConnectionInfo class using a connection string. |
顶部
Public Properties
名称 | Description | |
---|---|---|
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 | ||
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. |
顶部
Public Methods
(see also Protected Methods )
名称 | Description | |
---|---|---|
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
ReferenceEquals | (inherited from Object ) | |
ToString | (inherited from Object ) |
顶部
Protected Methods
名称 | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
顶部