Поделиться через


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

  Имя Description
SqlConnectionInfo Overloaded. Initializes a new instance of the SqlConnectionInfo class.

В начало

Public Fields

  Имя Description
ms218634.pubfield(ru-ru,SQL.90).gifms218634.static(ru-ru,SQL.90).gif DefaultNetworkProtocol The NetworkProtocol object that specifies the default network protocol for the connection.

В начало

Public Properties

(see also Protected Properties )

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

В начало

Protected Properties

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

В начало

Public Methods

(see also Protected Methods )

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

В начало

Protected Methods

  Имя Description
ms218634.protmethod(ru-ru,SQL.90).gif ConnectionParmsChanged  Changes the connection parameters. (inherited from SqlOlapConnectionInfoBase)
ms218634.protmethod(ru-ru,SQL.90).gif Finalize  (inherited from Object )
ms218634.protmethod(ru-ru,SQL.90).gif MemberwiseClone  (inherited from Object )

В начало

См. также

Справочник

SqlConnectionInfo Class
Microsoft.SqlServer.Management.Common Namespace