C# Класс MdxClient.MdxConnection

Represents an open connection to a SQL Server Analysis Services database.
Наследование: System.Data.Common.DbConnection
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
ChangeDatabase ( string databaseName ) : void

Changes the current database for an open MdxConnection.

Close ( ) : void

Closes the connection to the database.

CreateCommand ( ) : MdxCommand
MdxConnection ( ) : System

Initializes a new instance of the MdxConnection class.

MdxConnection ( string connectionString ) : System

Initializes a new instance of the MdxConnection class when given a string that contains the connection string.

Open ( ) : void

Opens a database connection with the property settings specified by the connection string.

Защищенные методы

Метод Описание
BeginDbTransaction ( IsolationLevel isolationLevel ) : DbTransaction
CreateDbCommand ( ) : DbCommand
Dispose ( bool disposing ) : void

Описание методов

BeginDbTransaction() защищенный Метод

protected BeginDbTransaction ( IsolationLevel isolationLevel ) : DbTransaction
isolationLevel IsolationLevel
Результат System.Data.Common.DbTransaction

ChangeDatabase() публичный Метод

Changes the current database for an open MdxConnection.
public ChangeDatabase ( string databaseName ) : void
databaseName string
Результат void

Close() публичный Метод

Closes the connection to the database.
public Close ( ) : void
Результат void

CreateCommand() публичный Метод

public CreateCommand ( ) : MdxCommand
Результат MdxCommand

CreateDbCommand() защищенный Метод

protected CreateDbCommand ( ) : DbCommand
Результат System.Data.Common.DbCommand

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

MdxConnection() публичный Метод

Initializes a new instance of the MdxConnection class.
public MdxConnection ( ) : System
Результат System

MdxConnection() публичный Метод

Initializes a new instance of the MdxConnection class when given a string that contains the connection string.
public MdxConnection ( string connectionString ) : System
connectionString string The connection used to open the SQL Server Analysis Services database. ///
Результат System

Open() публичный Метод

Opens a database connection with the property settings specified by the connection string.
public Open ( ) : void
Результат void