Share via


AdomdConnection Members

Include Protected Members
Include Inherited Members

Represents a connection to a multidimensional data source.

The AdomdConnection type exposes the following members.

Constructors

  Name Description
Public method AdomdConnection() Initializes a new instance of the AdomdConnection class with default values.
Public method AdomdConnection(String) Initializes a new instance of the AdomdConnection class by using the specified connection string.
Public method 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.

Top

Methods

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

Top

Properties

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

Top

Events

  Name Description
Public event Disposed (Inherited from Component.)

Top