AdomdConnection Methods

 

Updated: March 10, 2016

Namespace:   Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

NameDescription
System_CAPS_pubmethodBeginTransaction()

Begins a new transaction.

System_CAPS_pubmethodBeginTransaction(IsolationLevel)

Begins a new transaction with the specified IsolationLevel enumeration value.

System_CAPS_pubmethodChangeDatabase(String)

Changes the current database of the open AdomdConnection.

System_CAPS_pubmethodChangeEffectiveUser(String)

Creates a new XML/A session with the specified user identity impersonated on the server. To use this method, the caller must have administrative permissions in Analysis Services.

System_CAPS_pubmethodClone()

Creates and returns an instance of an AdomdConnection based on the current AdomdConnection. Session ID and state are not cloned.

System_CAPS_pubmethodClose()

Closes the connection to the database and ends the session.

System_CAPS_pubmethodClose(Boolean)

Closes the connection to the database, indicating whether to end the session.

System_CAPS_pubmethodCreateCommand()

Creates and returns an AdomdCommand that is associated with the AdomdConnection.

System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

(Inherited from Component.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetSchemaDataSet(Guid, 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.

System_CAPS_pubmethodGetSchemaDataSet(Guid, 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.

System_CAPS_pubmethodGetSchemaDataSet(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.

System_CAPS_pubmethodGetSchemaDataSet(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.

System_CAPS_pubmethodGetSchemaDataSet(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.

System_CAPS_pubmethodGetSchemaDataSet(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.

System_CAPS_pubmethodGetSchemaDataSet(String, String, AdomdRestrictionCollection, Boolean, AdomdPropertyCollection)

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 as well as setting properties for the underlying XMLA Discover command.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodOpen()

Opens a connection with an analytical data source by using the settings specified in the ConnectionString property of the AdomdConnection.

System_CAPS_pubmethodOpen(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Opens a connection with an analytical data source by using the specified path..

System_CAPS_pubmethodRefreshMetadata()

Forces the connection to repopulate all metadata from the server.

System_CAPS_pubmethodToString()

(Inherited from Component.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDbConnection.BeginTransaction()

Begins a database transaction.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDbConnection.BeginTransaction(IsolationLevel)

Begins a database transaction with the specified isolation level value.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDbConnection.CreateCommand()

Creates a new AdomdCommand associated with this connection and returns its IDbCommand object.

System_CAPS_pubinterfaceSystem_CAPS_privmethodICloneable.Clone()

Creates and returns an instance of an AdomdConnection based on the current AdomdConnection. Session ID and state are not cloned.

Return to top
Show: