Condividi tramite


Membri AdomdConnection

Represents a connection to a multidimensional data source.

Il tipo AdomdConnection espone i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico AdomdConnection() () () () Initializes a new instance of the AdomdConnection class with default values.
Metodo pubblico AdomdConnection(String) Initializes a new instance of the AdomdConnection class by using the specified connection string.
Metodo pubblico 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 alto

Metodi

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

In alto

Proprietà

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

In alto

Eventi

  Nome Descrizione
Evento pubblico Disposed (Ereditato da Component).

In alto