Skip to main content

OlapDataConnection Members

Represents a connection to a cube in an MS Analysis Services database.

Constructors

Name Description
OlapDataConnection() Initializes a new instance of OlapDataConnection class with default settings.
OlapDataConnection(String, OlapConnectionParameters) Initializes a new instance of OlapDataConnection class.

Properties

Name Description
ConnectionParameters Contains parameters used to establish a connection to a cube in an MS Analysis Services database.
ConnectionString Gets or sets a connection string used to establish a connection to a cube in an MS Analysis Services database.
ConnectionStringSerializable For internal use.
HasConnectionString Specifies whether the connection string has been assigned to the data connection. Inherited from DataConnectionBase.
IsConnected Gets whether the connection to a cube in an MS Analysis Services database is established.
Name Gets or sets the name of a data connection. Inherited from DataConnectionBase.
StoreConnectionNameOnly Specifies whether to serialize any connection settings except for the data connection name. Inherited from DataConnectionBase.

Methods

Name Description
Close() Closes the connection to a cube in an MS Analysis Services database.
CreateConnectionString() Creates a connection string. Inherited from DataConnectionBase.
CreateDataConnectionParameters() For internal use.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetDBSchema() Returns the schema of the data source that is connected using the current DataConnectionBase. Inherited from DataConnectionBase.
GetDBSchema(String[]) Returns the schema of the data source that is connected using the current DataConnectionBase. Inherited from DataConnectionBase.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Open() Opens the data connection session. Inherited from DataConnectionBase.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also