Share via


SqlConnectionInfo 成員

The SqlConnectionInfo object represents information that is required to establish a connection to an instance of SQL Server.

SqlConnectionInfo 型別公開下列成員。

建構函式

  名稱 描述
公用方法 SqlConnectionInfo() () () () Initializes a new instance of the SqlConnectionInfo class.
公用方法 SqlConnectionInfo(String) Initializes a new instance of the SqlConnectionInfo class.
公用方法 SqlConnectionInfo(SqlConnectionInfo) Initializes a new instance of the SqlConnectionInfo class.
公用方法 SqlConnectionInfo(ServerConnection, ConnectionType) Initializes a new instance of the SqlConnectionInfo class.
公用方法 SqlConnectionInfo(String, String, String) Initializes a new instance of the SqlConnectionInfo class.

頂端

方法

  名稱 描述
受保護的方法 ConnectionParmsChanged Changes the connection parameters. (繼承自 SqlOlapConnectionInfoBase。)
公用方法 Copy Returns a copy of the SqlConnectionInfo object.
公用方法 CreateConnectionObject Creates a system connection object. (覆寫 SqlOlapConnectionInfoBase. . :: . .CreateConnectionObject() () () ()。)
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString Returns the SqlConnectionInfo object in string format. (覆寫 SqlOlapConnectionInfoBase. . :: . .ToString() () () ()。)

頂端

欄位

  名稱 描述
公用欄位靜態成員 DefaultNetworkProtocol The NetworkProtocol object that specifies the default network protocol for the connection.

頂端

屬性

  名稱 描述
公用屬性 ApplicationName Gets or sets the name of the application that is connected to the instance of SQL Server.
公用屬性 ConnectionProtocol Gets or sets the network protocol used by the connection to the instance of SQL Server.
公用屬性 ConnectionString Gets the connection string used when the connection is established with the instance of SQL Server. (覆寫 SqlOlapConnectionInfoBase. . :: . .ConnectionString。)
受保護的屬性 ConnectionStringInternal Gets or sets the internal connection string. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 ConnectionTimeout Gets or sets the number of seconds before a connection times out. (繼承自 SqlOlapConnectionInfoBase。)
受保護的屬性 ConnectionTimeoutInternal Gets or sets the internal connection timeout period in seconds. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 DatabaseName Gets or sets the database with which the connection is established. (繼承自 SqlOlapConnectionInfoBase。)
受保護的屬性 DatabaseNameInternal Gets or sets the internal database name. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 EncryptConnection Gets or sets the Boolean property value that specifies whether the connection information is encrypted.
受保護的屬性 IntegratedSecurityInternal Gets or sets the Boolean property value that specifies whether the connection supports integrated security. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 MaxPoolSize Gets or sets the maximum number of execution threads in a thread pool that the connection will accept.
公用屬性 MinPoolSize Gets or sets the minimum number of execution threads in a thread pool that the connection will accept.
公用屬性 PacketSize Gets or sets the network packet size used by the connection to send and receive data in bytes.
公用屬性 Password Gets or sets the password used to establish a connection. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 PoolConnectionLifeTime Gets or sets the pool connection period in seconds.
公用屬性 Pooled Gets or sets the SqlBoolean property value that specifies whether the connection is pooled.
公用屬性 QueryTimeout Gets or sets the number of seconds before a query times out. (繼承自 SqlOlapConnectionInfoBase。)
受保護的屬性 QueryTimeoutInternal Gets or sets the internal query timeout period in seconds. (繼承自 SqlOlapConnectionInfoBase。)
受保護的屬性 RebuildConnectionStringInternal (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 SecurePassword Gets or sets the secure password used to establish a connection. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 ServerCaseSensitivity Gets or sets the server case sensitivity for the connection. (繼承自 ConnectionInfoBase。)
公用屬性 ServerName Gets or sets the name of the instance of SQL Server. (繼承自 SqlOlapConnectionInfoBase。)
受保護的屬性 ServerNameInternal Gets or sets the internal name of the instance of SQL Server. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 ServerType Gets or sets the server connection type. (繼承自 ConnectionInfoBase。)
公用屬性 ServerVersion Gets or sets the version information about the instance of SQL Server. (繼承自 ConnectionInfoBase。)
公用屬性 UseIntegratedSecurity Gets or sets the Boolean property value that specifies whether the connection uses integrated security. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 UserName Gets or sets the user that is connecting to the instance of SQL Server. (繼承自 SqlOlapConnectionInfoBase。)
公用屬性 WorkstationId Gets or sets the value that uniquely identifies the client workstation.

頂端