Compartilhar via


Membros AdomdConnection

Represents a connection to a multidimensional data source.

O tipo AdomdConnection expõe os seguintes membros.

Construtores

  Nome Descrição
Método público AdomdConnection() () () () Initializes a new instance of the AdomdConnection class with default values.
Método público AdomdConnection(String) Initializes a new instance of the AdomdConnection class by using the specified connection string.
Método público AdomdConnection(AdomdConnection) Initializes a new instance of the AdomdConnection class by using values from a specified AdomdConnection class. The session identifier and command state are not the same.

Início

Métodos

  Nome Descrição
Método público BeginTransaction() () () () Begins a new transaction.
Método público BeginTransaction(IsolationLevel) Begins a new transaction with the specified IsolationLevel enumeration value.
Método público ChangeDatabase Changes the current database of the open AdomdConnection.
Método público Clone Creates and returns an instance of an AdomdConnection based on the current AdomdConnection. Session ID and state are not cloned.
Método público Close() () () () Closes the connection to the database and ends the session.
Método público Close(Boolean) Closes the connection to the database, indicating whether to end the session.
Método público CreateCommand Creates and returns an AdomdCommand that is associated with the AdomdConnection.
Método público CreateObjRef (Herdado de MarshalByRefObject.)
Método público Dispose (Herdado de Component.)
Método protegido Dispose (Herdado de Component.)
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Component.)
Método público GetHashCode (Herdado de Object.)
Método público GetLifetimeService (Herdado de MarshalByRefObject.)
Método público GetSchemaDataSet(Guid, array<Object> [] () [] []) Returns schema information from a data source by using a Guid object to specify which schema information to return and by applying any specified restrictions to the information.
Método público GetSchemaDataSet(String, AdomdRestrictionCollection) Returns schema information from a data source by using a schema name to identify which schema to retrieve and by applying any specified restrictions to the information.
Método público GetSchemaDataSet(Guid, array<Object> [] () [] [], Boolean) Returns schema information from a data source by using a Guid object to identify the information, applying any specified restrictions on the information, and optionally throwing an exception when inline errors occur.
Método público GetSchemaDataSet(String, AdomdRestrictionCollection, Boolean) Returns schema information from a data source by using a schema name to identify the information, applying any specified restrictions to the information, and optionally throwing an exception when inline errors occur.
Método público GetSchemaDataSet(String, String, AdomdRestrictionCollection) Returns schema information from a data source by using a schema name and namespace to identify the information, and by applying any specified restrictions to the information.
Método público GetSchemaDataSet(String, String, AdomdRestrictionCollection, Boolean) Returns schema information from a data source by using a schema name and namespace to identify the information, applying any specified restrictions to the information, and, optionally throwing an exception when inline errors occur.
Método protegido GetService (Herdado de Component.)
Método público GetType (Herdado de Object.)
Método público InitializeLifetimeService (Herdado de MarshalByRefObject.)
Método protegido MemberwiseClone (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de MarshalByRefObject.)
Método público Open() () () () Opens a connection with an analytical data source by using the settings specified in the ConnectionString property of the AdomdConnection.
Método público Open(String)
Método público RefreshMetadata Forces the connection to repopulate all metadata from the server.
Método público ToString (Herdado de Component.)

Início

Propriedades

  Nome Descrição
Propriedade protegida CanRaiseEvents (Herdado de Component.)
Propriedade pública ClientVersion Gets the version of the ADOMD.NET client that implements the AdomdConnection.
Propriedade pública ConnectionString Gets or sets the string that the AdomdConnection uses to open an analytical data source.
Propriedade pública ConnectionTimeout Gets the time to wait for a connection to be established before the AdomdConnection stops trying to connect and generates an error.
Propriedade pública Container (Herdado de Component.)
Propriedade pública Cubes Gets an instance of a CubeCollection that represents the collection of cubes contained by an analytical data source.
Propriedade pública Database Gets the name of the database to be used after the AdomdConnection is open.
Propriedade protegida DesignMode (Herdado de Component.)
Propriedade protegida Events (Herdado de Component.)
Propriedade pública MiningModels Gets an instance of a MiningModelCollection that represents the collection of mining models that an analytical data source contains.
Propriedade pública MiningServices Gets an instance of a MiningServiceCollection that represents the collection of mining services that an analytical data source contains.
Propriedade pública MiningStructures Gets an instance of a MiningStructureCollection that represents the collection of mining structures that an analytical data source contains.
Propriedade pública ProviderVersion Gets the version of the XML for Analysis provider that the AdomdConnection uses.
Propriedade pública ServerVersion Gets the version of the server used that the AdomdConnection uses.
Propriedade pública SessionID Gets or sets the string identifier of the session that the AdomdConnection opened with the server.
Propriedade pública ShowHiddenObjects Gets or sets a value that indicates whether hidden objects are returned.
Propriedade pública Site (Herdado de Component.)
Propriedade pública State Gets the current state of the AdomdConnection.

Início

Eventos

  Nome Descrição
Evento público Disposed (Herdado de Component.)

Início