SqlConnectionInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public class SqlConnectionInfo : Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type SqlConnectionInfo = class
inherit SqlOlapConnectionInfoBase
Public Class SqlConnectionInfo
Inherits SqlOlapConnectionInfoBase
- Inheritance
- Derived
- Attributes
Constructors
SqlConnectionInfo() | |
SqlConnectionInfo(ServerConnection, ConnectionType) |
Initializes SqlConnectionInfo from ServerConnection object |
SqlConnectionInfo(SqlConnectionInfo) | |
SqlConnectionInfo(String, String, String) | |
SqlConnectionInfo(String) |
Fields
DefaultNetworkProtocol | |
NoTimeOut | (Inherited from SqlOlapConnectionInfoBase) |
Properties
Methods
ConnectionParmsChanged() | (Inherited from SqlOlapConnectionInfoBase) |
Copy() |
Deep copy |
CreateConnectionObject() |
Returns a new IDbConnection implementation. Callers should use this object and release the reference to it in a short amount of time, as the associated access token may have a limited lifetime. |
GetAuthenticationMethod(SqlConnectionStringBuilder) |
Retrieve the Authentication value from SqlConnectionStringBuilder and convert it to SqlConnectionInfo.AuthenticationMethod |
GetAuthenticationMethod(SqlConnectionStringBuilder) |
Retrieve the Authentication value from SqlConnectionStringBuilder and convert it to SqlConnectionInfo.AuthenticationMethod |
IsApplicationIntentKeywordSupported() |
Checks whether "ApplicationIntent" is supported in the runtime environment |
IsAuthenticationKeywordSupported() |
Checks whether "Authentication" is supported in the runtime environment The keyword "Authentication" is not supported until .Net4.6. If user uses a version of .Net less than 4.6, SSMS should avoid using "Authentication" |
ToString() |