Share via


Classe SqlOlapConnectionInfoBase

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

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public MustInherit Class SqlOlapConnectionInfoBase _
    Inherits ConnectionInfoBase
'Utilizzo
Dim instance As SqlOlapConnectionInfoBase
[SerializableAttribute]
[ComVisibleAttribute(false)]
public abstract class SqlOlapConnectionInfoBase : ConnectionInfoBase
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class SqlOlapConnectionInfoBase abstract : public ConnectionInfoBase
[<AbstractClassAttribute>]
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type SqlOlapConnectionInfoBase =  
    class
        inherit ConnectionInfoBase
    end
public abstract class SqlOlapConnectionInfoBase extends ConnectionInfoBase

Nel tipo SqlOlapConnectionInfoBase sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo protetto SqlOlapConnectionInfoBase() () () () Initializes a new instance of the SqlOlapConnectionInfoBase class.
Metodo protetto SqlOlapConnectionInfoBase(ConnectionType) Initializes a new instance of the SqlOlapConnectionInfoBase class.
Metodo protetto SqlOlapConnectionInfoBase(SqlOlapConnectionInfoBase) Initializes a new instance of the SqlOlapConnectionInfoBase class.
Metodo protetto SqlOlapConnectionInfoBase(String, ConnectionType) Initializes a new instance of the SqlOlapConnectionInfoBase class.
Metodo pubblico SqlOlapConnectionInfoBase(String, String, String, ConnectionType) Initializes a new instance of the SqlOlapConnectionInfoBase class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica ConnectionString Gets the connection string.
Proprietà protetta ConnectionStringInternal Gets or sets the internal connection string.
Proprietà pubblica ConnectionTimeout Gets or sets the number of seconds before a connection times out.
Proprietà protetta ConnectionTimeoutInternal Gets or sets the internal connection timeout period in seconds.
Proprietà pubblica DatabaseName Gets or sets the database with which the connection is established.
Proprietà protetta DatabaseNameInternal Gets or sets the internal database name.
Proprietà protetta IntegratedSecurityInternal Gets or sets the Boolean property value that specifies whether the connection supports integrated security.
Proprietà pubblica Password Gets or sets the password used to establish a connection.
Proprietà pubblica QueryTimeout Gets or sets the number of seconds before a query times out.
Proprietà protetta QueryTimeoutInternal Gets or sets the internal query timeout period in seconds.
Proprietà protetta RebuildConnectionStringInternal Gets or sets a Boolean indicating whether the internal connection string must be rebuilt.
Proprietà pubblica SecurePassword Gets or sets the secure password used to establish a connection.
Proprietà pubblica ServerCaseSensitivity Gets or sets the server case sensitivity for the connection. Ereditato da ConnectionInfoBase.
Proprietà pubblica ServerName Gets or sets the name of the instance of SQL Server.
Proprietà protetta ServerNameInternal Gets or sets the internal name of the instance of SQL Server.
Proprietà pubblica ServerType Gets or sets the server connection type. Ereditato da ConnectionInfoBase.
Proprietà pubblica ServerVersion Gets or sets the version information about the instance of SQL Server. Ereditato da ConnectionInfoBase.
Proprietà pubblica UseIntegratedSecurity Gets or sets the Boolean property value that specifies whether the connection uses integrated security.
Proprietà pubblica UserName Gets or sets the user that is connecting to the instance of SQL Server.

In alto

Metodi

  Nome Descrizione
Metodo protetto ConnectionParmsChanged Changes the connection parameters. Esegue l'override di ConnectionInfoBase. . :: . .ConnectionParmsChanged() () () ().
Metodo pubblico CreateConnectionObject Creates the connection object and returns the IDbConnection object value.
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Returns the object as a string value. Esegue l'override di ConnectionInfoBase. . :: . .ToString() () () ().

In alto

Campi

  Nome Descrizione
Campo pubblicoMembro statico DefaultConnTimeout A Int32 that specifies the default connection time out period in seconds.
Campo pubblicoMembro statico DefaultQueryTimeout A Int32 that specifies the default query time out period in seconds.
Campo protettoMembro statico NoTimeOut A Int32 that specifies there is no time out.

In alto

Osservazioni

The SqlOlapConnectionInfoBase class is a base class that is used in the construction of the SqlConnectionInfo class

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.