共用方式為


SqlOlapConnectionInfoBase Members

The SqlOlapConnectionInfoBase class represents information used to connect to the instance of SQL Server.

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

Public Constructors

(see also Protected Constructors )

  名稱 Description
SqlOlapConnectionInfoBase Overloaded. Initializes a new instance of the SqlOlapConnectionInfoBase class.

頂端

Protected Constructors

  名稱 Description
SqlOlapConnectionInfoBase Overloaded. Initializes a new instance of the SqlOlapConnectionInfoBase class.

頂端

Public Fields

(see also Protected Fields )

  名稱 Description
ms218613.pubfield(zh-tw,SQL.90).gifms218613.static(zh-tw,SQL.90).gif DefaultConnTimeout A Int32 that specifies the default connection time out period in seconds.
ms218613.pubfield(zh-tw,SQL.90).gifms218613.static(zh-tw,SQL.90).gif DefaultQueryTimeout A Int32 that specifies the default query time out period in seconds.

頂端

Protected Fields

  名稱 Description
ms218613.protfield(zh-tw,SQL.90).gifms218613.static(zh-tw,SQL.90).gif NoTimeOut A Int32 that specifies there is no time out.

頂端

Public Properties

(see also Protected Properties )

  名稱 Description
ms218613.pubproperty(zh-tw,SQL.90).gif ConnectionString Gets the connection string.
ms218613.pubproperty(zh-tw,SQL.90).gif ConnectionTimeout Gets or sets the number of seconds before a connection times out.
ms218613.pubproperty(zh-tw,SQL.90).gif DatabaseName Gets or sets the database with which the connection is established.
ms218613.pubproperty(zh-tw,SQL.90).gif Password Gets or sets the password used to establish a connection.
ms218613.pubproperty(zh-tw,SQL.90).gif QueryTimeout Gets or sets the number of seconds before a query times out.
ms218613.pubproperty(zh-tw,SQL.90).gif SecurePassword Gets or sets the secure password used to establish a connection.
ms218613.pubproperty(zh-tw,SQL.90).gif ServerCaseSensitivity  Gets or sets the server case sensitivity for the connection. (inherited from ConnectionInfoBase)
ms218613.pubproperty(zh-tw,SQL.90).gif ServerName Gets or sets the name of the instance of SQL Server.
ms218613.pubproperty(zh-tw,SQL.90).gif ServerType  Gets or sets the server connection type. (inherited from ConnectionInfoBase)
ms218613.pubproperty(zh-tw,SQL.90).gif ServerVersion  Gets or sets the version information about the instance of SQL Server. (inherited from ConnectionInfoBase)
ms218613.pubproperty(zh-tw,SQL.90).gif UseIntegratedSecurity Gets or sets the Boolean property value that specifies whether the connection uses integrated security.
ms218613.pubproperty(zh-tw,SQL.90).gif UserName Gets or sets the user that is connecting to the instance of SQL Server.

頂端

Protected Properties

  名稱 Description
ms218613.protproperty(zh-tw,SQL.90).gif ConnectionStringInternal Gets or sets the internal connection string.
ms218613.protproperty(zh-tw,SQL.90).gif ConnectionTimeoutInternal Gets or sets the internal connection timeout period in seconds.
ms218613.protproperty(zh-tw,SQL.90).gif DatabaseNameInternal Gets or sets the internal database name.
ms218613.protproperty(zh-tw,SQL.90).gif IntegratedSecurityInternal Gets or sets the Boolean property value that specifies whether the connection supports integrated security.
ms218613.protproperty(zh-tw,SQL.90).gif QueryTimeoutInternal Gets or sets the internal query timeout period in seconds.
ms218613.protproperty(zh-tw,SQL.90).gif RebuildConnectionStringInternal  
ms218613.protproperty(zh-tw,SQL.90).gif ServerNameInternal Gets or sets the internal name of the instance of SQL Server.

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms218613.pubmethod(zh-tw,SQL.90).gif CreateConnectionObject Creates the connection object and returns the IDbConnection object value.
ms218613.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms218613.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms218613.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms218613.pubmethod(zh-tw,SQL.90).gifms218613.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms218613.pubmethod(zh-tw,SQL.90).gif ToString Overridden. Returns the object as a string value.

頂端

Protected Methods

  名稱 Description
ms218613.protmethod(zh-tw,SQL.90).gif ConnectionParmsChanged Overridden. Changes the connection parameters.
ms218613.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms218613.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

請參閱

參考

SqlOlapConnectionInfoBase Class
Microsoft.SqlServer.Management.Common Namespace