Partager via


Membres AdomdConnection

Represents a connection to a multidimensional data source.

Le type AdomdConnection expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique AdomdConnection() () () () Initializes a new instance of the AdomdConnection class with default values.
Méthode publique AdomdConnection(String) Initializes a new instance of the AdomdConnection class by using the specified connection string.
Méthode publique 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.

Haut de la page

Méthodes

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

Haut de la page

Propriétés

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

Haut de la page

Événements

  Nom Description
Événement public Disposed (Hérité de Component.)

Haut de la page