ConnectionInfo 類別

定義

剖析連接字串,並公開與連接相關聯的數個屬性。 此類別無法獲得繼承。

public sealed class ConnectionInfo
type ConnectionInfo = class
Public NotInheritable Class ConnectionInfo
繼承
ConnectionInfo

建構函式

ConnectionInfo(String)

使用連接字串,初始化 ConnectionInfo 類別的新執行個體。

屬性

AccessMode

請勿直接在程式碼中參考此成員。 它支援 Analysis Services 基礎結構。

AllowPrompt
已淘汰.

取得 ConnectionInfo 物件 allow-prompt 屬性狀態的指示。

AsAzureRedirection

請勿直接在程式碼中參考此成員。 它支援 Analysis Services 基礎結構。

AuthenticationScheme

請勿直接在程式碼中參考此成員。 它支援 Analysis Services 基礎結構。

BypassAuthorization

請勿直接在程式碼中參考此成員。 它支援 Analysis Services 基礎結構。

Catalog

取得與 ConnectionInfo 物件建立關聯的資料庫目錄。

Certificate

請勿直接在程式碼中參考此成員。 它支援 Analysis Services 基礎結構。

CharacterEncoding

取得與 ConnectionInfo 物件建立關聯的字元編碼值。

ClientCertificateThumbprint

請勿直接在程式碼中參考此成員。 它支援 Analysis Services 基礎結構。

CompressionLevel

取得與 ConnectionInfo 物件建立關聯的壓縮層級。

ConnectionActivityId

屬性,指出連線活動識別碼 此相互關聯識別碼會當做連線建立期間所發出之 HTTP 要求的 x-ms-parent-activity-id 候選項目傳遞。

ConnectionType

取得與 ConnectionInfo 物件建立關聯的連接類型。

ConnectTimeout

取得並設定與 ConnectionInfo 物件相關聯的連接逾時資訊。

ContextualIdentity

屬性,指出連線的內容識別

DedicatedAdminConnection

屬性,指出這是否為專用管理員連線

EncryptionPassword

取得與 ConnectionInfo 物件建立關聯的加密密碼。

ExtAuthInfo

請勿直接在程式碼中參考此成員。 它支援 Analysis Services 基礎結構。

ExtendedProperties

取得與 ConnectionInfo 物件建立關聯的擴充屬性。

HttpHandling

取得和設定用戶端處理 HTTP 型 XMLA 連線的方式。

IdentityProvider

請勿直接在程式碼中參考此成員。 它支援 Analysis Services 基礎結構。

ImpersonationLevel

取得與 ConnectionInfo 物件建立關聯的模擬層級。

InstanceName

取得與 ConnectionInfo 物件建立關聯的執行個體名稱。

IntegratedSecurity

取得 ConnectionInfo 物件的整合式安全性狀態。

Location

取得與 ConnectionInfo 物件建立關聯的位置。

PacketSize

取得與 ConnectionInfo 物件建立關聯的封包大小 (以位元組為單位)。

Password

取得與 ConnectionInfo 物件建立關聯的密碼。

Port

取得與 ConnectionInfo 物件建立關聯的通訊埠編號。

ProtectionLevel

取得與 ConnectionInfo 物件建立關聯的保護等級。

ProtocolFormat

取得 ConnectionInfo 物件的通訊協定格式。

RestrictCatalog

請勿直接在程式碼中參考此成員。 它支援 Analysis Services 基礎結構。

RestrictRoles

請勿直接在程式碼中參考此成員。 它支援 Analysis Services 基礎結構。

RestrictUser

請勿直接在程式碼中參考此成員。 它支援 Analysis Services 基礎結構。

Server

取得與 ConnectionInfo 物件建立關聯的伺服器名稱。

Sspi

取得要在連接驗證過程中使用之 SSPI 封裝的名稱。

Timeout

取得與 ConnectionInfo 物件建立關聯的逾時值。

TransportCompression

取得與 ConnectionInfo 物件建立關聯的 TransportCompression。

UseExistingFile

取得 ConnectionInfo 物件使用現有檔案 (use existing file) 屬性狀態的指示。

UserID

取得與 ConnectionInfo 物件建立關聯的使用者識別碼。

適用於