Udostępnij za pośrednictwem


SqlConnectionInfo Members

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

The following tables list the members exposed by the SqlConnectionInfo type.

Public Constructors

  Name Description
SqlConnectionInfo Overloaded. Initializes a new instance of the SqlConnectionInfo class.

Top

Public Fields

  Name Description
ms218634.pubfield(pl-pl,SQL.100).gifms218634.static(pl-pl,SQL.100).gif DefaultNetworkProtocol The NetworkProtocol object that specifies the default network protocol for the connection.

Top

Public Properties

(see also Protected Properties )

  Name Description
ms218634.pubproperty(pl-pl,SQL.100).gif ApplicationName Gets or sets the name of the application that is connected to the instance of SQL Server.
ms218634.pubproperty(pl-pl,SQL.100).gif ConnectionProtocol Gets or sets the network protocol used by the connection to the instance of SQL Server.
ms218634.pubproperty(pl-pl,SQL.100).gif ConnectionString Overridden. Gets the connection string used when the connection is established with the instance of SQL Server.
ms218634.pubproperty(pl-pl,SQL.100).gif ConnectionTimeout  Gets or sets the number of seconds before a connection times out. (inherited from SqlOlapConnectionInfoBase)
ms218634.pubproperty(pl-pl,SQL.100).gif DatabaseName  Gets or sets the database with which the connection is established. (inherited from SqlOlapConnectionInfoBase)
ms218634.pubproperty(pl-pl,SQL.100).gif EncryptConnection Gets or sets the Boolean property value that specifies whether the connection information is encrypted.
ms218634.pubproperty(pl-pl,SQL.100).gif MaxPoolSize Gets or sets the maximum number of execution threads in a thread pool that the connection will accept.
ms218634.pubproperty(pl-pl,SQL.100).gif MinPoolSize Gets or sets the minimum number of execution threads in a thread pool that the connection will accept.
ms218634.pubproperty(pl-pl,SQL.100).gif PacketSize Gets or sets the network packet size used by the connection to send and receive data in bytes.
ms218634.pubproperty(pl-pl,SQL.100).gif Password  Gets or sets the password used to establish a connection. (inherited from SqlOlapConnectionInfoBase)
ms218634.pubproperty(pl-pl,SQL.100).gif PoolConnectionLifeTime Gets or sets the pool connection period in seconds.
ms218634.pubproperty(pl-pl,SQL.100).gif Pooled Gets or sets the SqlBoolean property value that specifies whether the connection is pooled.
ms218634.pubproperty(pl-pl,SQL.100).gif QueryTimeout  Gets or sets the number of seconds before a query times out. (inherited from SqlOlapConnectionInfoBase)
ms218634.pubproperty(pl-pl,SQL.100).gif SecurePassword  Gets or sets the secure password used to establish a connection. (inherited from SqlOlapConnectionInfoBase)
ms218634.pubproperty(pl-pl,SQL.100).gif ServerCaseSensitivity  Gets or sets the server case sensitivity for the connection. (inherited from ConnectionInfoBase)
ms218634.pubproperty(pl-pl,SQL.100).gif ServerName  Gets or sets the name of the instance of SQL Server. (inherited from SqlOlapConnectionInfoBase)
ms218634.pubproperty(pl-pl,SQL.100).gif ServerType  Gets or sets the server connection type. (inherited from ConnectionInfoBase)
ms218634.pubproperty(pl-pl,SQL.100).gif ServerVersion  Gets or sets the version information about the instance of SQL Server. (inherited from ConnectionInfoBase)
ms218634.pubproperty(pl-pl,SQL.100).gif UseIntegratedSecurity  Gets or sets the Boolean property value that specifies whether the connection uses integrated security. (inherited from SqlOlapConnectionInfoBase)
ms218634.pubproperty(pl-pl,SQL.100).gif UserName  Gets or sets the user that is connecting to the instance of SQL Server. (inherited from SqlOlapConnectionInfoBase)
ms218634.pubproperty(pl-pl,SQL.100).gif WorkstationId Gets or sets the value that uniquely identifies the client workstation.

Top

Protected Properties

  Name Description
ms218634.protproperty(pl-pl,SQL.100).gif ConnectionStringInternal  Gets or sets the internal connection string. (inherited from SqlOlapConnectionInfoBase)
ms218634.protproperty(pl-pl,SQL.100).gif ConnectionTimeoutInternal  Gets or sets the internal connection timeout period in seconds. (inherited from SqlOlapConnectionInfoBase)
ms218634.protproperty(pl-pl,SQL.100).gif DatabaseNameInternal  Gets or sets the internal database name. (inherited from SqlOlapConnectionInfoBase)
ms218634.protproperty(pl-pl,SQL.100).gif IntegratedSecurityInternal  Gets or sets the Boolean property value that specifies whether the connection supports integrated security. (inherited from SqlOlapConnectionInfoBase)
ms218634.protproperty(pl-pl,SQL.100).gif QueryTimeoutInternal  Gets or sets the internal query timeout period in seconds. (inherited from SqlOlapConnectionInfoBase)
ms218634.protproperty(pl-pl,SQL.100).gif RebuildConnectionStringInternal  (inherited from SqlOlapConnectionInfoBase )
ms218634.protproperty(pl-pl,SQL.100).gif ServerNameInternal  Gets or sets the internal name of the instance of SQL Server. (inherited from SqlOlapConnectionInfoBase)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms218634.pubmethod(pl-pl,SQL.100).gif Copy Returns a copy of the SqlConnectionInfo object.
ms218634.pubmethod(pl-pl,SQL.100).gif CreateConnectionObject Overridden. Creates a system connection object.
ms218634.pubmethod(pl-pl,SQL.100).gif Equals  Overloaded. (inherited from Object )
ms218634.pubmethod(pl-pl,SQL.100).gif GetHashCode  (inherited from Object )
ms218634.pubmethod(pl-pl,SQL.100).gif GetType  (inherited from Object )
ms218634.pubmethod(pl-pl,SQL.100).gifms218634.static(pl-pl,SQL.100).gif ReferenceEquals  (inherited from Object )
ms218634.pubmethod(pl-pl,SQL.100).gif ToString Overridden. Returns the SqlConnectionInfo object in string format.

Top

Protected Methods

  Name Description
ms218634.protmethod(pl-pl,SQL.100).gif ConnectionParmsChanged  Changes the connection parameters. (inherited from SqlOlapConnectionInfoBase)
ms218634.protmethod(pl-pl,SQL.100).gif Finalize  (inherited from Object )
ms218634.protmethod(pl-pl,SQL.100).gif MemberwiseClone  (inherited from Object )

Top