Compartir a través de


AdomdConnection Miembros

Represents a connection to a multidimensional data source.

El tipo AdomdConnection expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico AdomdConnection() () () () Initializes a new instance of the AdomdConnection class with default values.
Método publico AdomdConnection(String) Initializes a new instance of the AdomdConnection class by using the specified connection string.
Método publico 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.

Principio

Métodos

  Nombre Descripción
Método publico BeginTransaction() () () () Begins a new transaction.
Método publico BeginTransaction(IsolationLevel) Begins a new transaction with the specified IsolationLevel enumeration value.
Método publico ChangeDatabase Changes the current database of the open AdomdConnection.
Método publico Clone Creates and returns an instance of an AdomdConnection based on the current AdomdConnection. Session ID and state are not cloned.
Método publico Close() () () () Closes the connection to the database and ends the session.
Método publico Close(Boolean) Closes the connection to the database, indicating whether to end the session.
Método publico CreateCommand Creates and returns an AdomdCommand that is associated with the AdomdConnection.
Método publico CreateObjRef (Se hereda de MarshalByRefObject).
Método publico Dispose (Se hereda de Component).
Método protegido Dispose (Se hereda de Component).
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Component).
Método publico GetHashCode (Se hereda de Object).
Método publico GetLifetimeService (Se hereda de MarshalByRefObject).
Método publico 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 publico 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 publico 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 publico 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 publico 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 publico 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 (Se hereda de Component).
Método publico GetType (Se hereda de Object).
Método publico InitializeLifetimeService (Se hereda de MarshalByRefObject).
Método protegido MemberwiseClone (Se hereda de Object).
Método protegido MemberwiseClone (Se hereda de MarshalByRefObject).
Método publico Open() () () () Opens a connection with an analytical data source by using the settings specified in the ConnectionString property of the AdomdConnection.
Método publico Open(String)
Método publico RefreshMetadata Forces the connection to repopulate all metadata from the server.
Método publico ToString (Se hereda de Component).

Principio

Propiedades

  Nombre Descripción
Propiedad protegida CanRaiseEvents (Se hereda de Component).
Propiedad pública ClientVersion Gets the version of the ADOMD.NET client that implements the AdomdConnection.
Propiedad pública ConnectionString Gets or sets the string that the AdomdConnection uses to open an analytical data source.
Propiedad 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.
Propiedad pública Container (Se hereda de Component).
Propiedad pública Cubes Gets an instance of a CubeCollection that represents the collection of cubes contained by an analytical data source.
Propiedad pública Database Gets the name of the database to be used after the AdomdConnection is open.
Propiedad protegida DesignMode (Se hereda de Component).
Propiedad protegida Events (Se hereda de Component).
Propiedad pública MiningModels Gets an instance of a MiningModelCollection that represents the collection of mining models that an analytical data source contains.
Propiedad pública MiningServices Gets an instance of a MiningServiceCollection that represents the collection of mining services that an analytical data source contains.
Propiedad pública MiningStructures Gets an instance of a MiningStructureCollection that represents the collection of mining structures that an analytical data source contains.
Propiedad pública ProviderVersion Gets the version of the XML for Analysis provider that the AdomdConnection uses.
Propiedad pública ServerVersion Gets the version of the server used that the AdomdConnection uses.
Propiedad pública SessionID Gets or sets the string identifier of the session that the AdomdConnection opened with the server.
Propiedad pública ShowHiddenObjects Gets or sets a value that indicates whether hidden objects are returned.
Propiedad pública Site (Se hereda de Component).
Propiedad pública State Gets the current state of the AdomdConnection.

Principio

Eventos

  Nombre Descripción
Evento público Disposed (Se hereda de Component).

Principio