AdomdConnection 类

定义

Microsoft.AnalysisServices.AdomdClient.AdomdConnection

public sealed class AdomdConnection : System.ComponentModel.Component, ICloneable, IDisposable, System.Data.IDbConnection
type AdomdConnection = class
    inherit Component
    interface IDbConnection
    interface IDisposable
    interface ICloneable
Public NotInheritable Class AdomdConnection
Inherits Component
Implements ICloneable, IDbConnection, IDisposable
继承
AdomdConnection
实现

构造函数

AdomdConnection()

初始化 AdomdConnection 类的新实例。

AdomdConnection(AdomdConnection)

初始化 AdomdConnection 类的新实例。

AdomdConnection(String)

初始化 AdomdConnection 类的新实例。

属性

AccessToken

访问令牌

ClientVersion

ClientVersion

ConnectionString

ConnectionString

ConnectionTimeout

ConnectionTimeout

Cubes

立方体

Database

数据库

MiningModels

立方体

MiningServices

立方体

MiningStructures

立方体

OnAccessTokenExpired

定义一个回调方法,用于在当前访问令牌即将过期时通知应用程序。

Properties

获取 AdomdPropertyCollection 类的实例,该类包含与 AdomdConnection 关联的属性。

ProviderVersion

ProviderVersion

ServerVersion

ServerVersion

SessionID

SessionID

ShowHiddenObjects

ShowHiddenObjects

State

方法

BeginTransaction()

BeginTransaction

BeginTransaction(IsolationLevel)

BeginTransaction

ChangeDatabase(String)

ChangeDatabase

ChangeEffectiveUser(String)

ChangeEffectiveUser

Clone()

克隆

Close()

关闭

Close(Boolean)

关闭 1

CreateCommand()

CreateCommand

GetCloudConnectionAuthenticationProperties()

GetCloudConnectionAuthenticationProperties

GetSchemaDataSet(Guid, Object[], Boolean)

GetSchemaDataSet

GetSchemaDataSet(Guid, Object[])

GetSchemaDataSet

GetSchemaDataSet(String, AdomdRestrictionCollection, Boolean)

GetSchemaDataSet

GetSchemaDataSet(String, AdomdRestrictionCollection)

GetSchemaDataSet

GetSchemaDataSet(String, String, AdomdRestrictionCollection, Boolean, AdomdPropertyCollection)

Microsoft.AnalysisServices.AdomdClient.AdomdConnection

GetSchemaDataSet(String, String, AdomdRestrictionCollection, Boolean)

GetSchemaDataSet

GetSchemaDataSet(String, String, AdomdRestrictionCollection)

GetSchemaDataSet

IsCloudAnalysisServices()

IsCloudAnalysisServices

Open()

打开

Open(String)
已过时.

请勿使用此方法,该功能已被弃用!

RefreshMetadata()

Microsoft.AnalysisServices.AdomdClient.AdomdConnection

显式接口实现

ICloneable.Clone()

Microsoft.AnalysisServices.AdomdClient.AdomdConnection

IDbConnection.BeginTransaction()

Microsoft.AnalysisServices.AdomdClient.AdomdConnection

IDbConnection.BeginTransaction(IsolationLevel)

Microsoft.AnalysisServices.AdomdClient.AdomdConnection

IDbConnection.CreateCommand()

Microsoft.AnalysisServices.AdomdClient.AdomdConnection

适用于