SqlConnectionInfo クラス

定義

[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public class SqlConnectionInfo : Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type SqlConnectionInfo = class
    inherit SqlOlapConnectionInfoBase
Public Class SqlConnectionInfo
Inherits SqlOlapConnectionInfoBase
継承
派生
属性

コンストラクター

名前 説明
SqlConnectionInfo()
SqlConnectionInfo(ServerConnection, ConnectionType)

ServerConnection オブジェクトから SqlConnectionInfo を初期化します。

SqlConnectionInfo(SqlConnectionInfo)
SqlConnectionInfo(String, String, String)
SqlConnectionInfo(String)

フィールド

名前 説明
DefaultNetworkProtocol
NoTimeOut (継承元 SqlOlapConnectionInfoBase)

プロパティ

名前 説明
AccessToken

ユニバーサル認証に使用するアクセス トークンの値

AdditionalParameters
ApplicationIntent

接続の ApplicationIntent

ApplicationName
Authentication

return SqlConnectionInfo.AuthenticationMethod

ConnectionProtocol
ConnectionString
ConnectionStringInternal (継承元 SqlOlapConnectionInfoBase)
ConnectionTimeout (継承元 SqlOlapConnectionInfoBase)
ConnectionTimeoutInternal (継承元 SqlOlapConnectionInfoBase)
DatabaseName (継承元 SqlOlapConnectionInfoBase)
DatabaseNameInternal (継承元 SqlOlapConnectionInfoBase)
EncryptConnection

接続文字列で Encrypt=true を設定するかどうか

HostNameInCertificate

証明書で指定されたホスト名を、証明書の検証に使用するように設定します。

IntegratedSecurityInternal (継承元 SqlOlapConnectionInfoBase)
MaxPoolSize
MinPoolSize
PacketSize
Password (継承元 SqlOlapConnectionInfoBase)
PoolConnectionLifeTime
Pooled
QueryTimeout (継承元 SqlOlapConnectionInfoBase)
QueryTimeoutInternal (継承元 SqlOlapConnectionInfoBase)
RebuildConnectionStringInternal (継承元 SqlOlapConnectionInfoBase)
SecurePassword (継承元 SqlOlapConnectionInfoBase)
ServerCaseSensitivity (継承元 ConnectionInfoBase)
ServerCertificate

証明書の検証に使用するサーバー証明書へのパスを設定します。

ServerName (継承元 SqlOlapConnectionInfoBase)
ServerNameInternal (継承元 SqlOlapConnectionInfoBase)
ServerType (継承元 ConnectionInfoBase)
ServerVersion (継承元 ConnectionInfoBase)
StrictEncryption

接続文字列で Encrypt=Strict を設定するかどうか。 現在の SqlClient で Strict がサポートされていない場合、true の場合、この値は Encrypt=true に設定されます

TrustServerCertificate

サーバー証明書を信頼するかどうかを返す

UseIntegratedSecurity (継承元 SqlOlapConnectionInfoBase)
UserName (継承元 SqlOlapConnectionInfoBase)
WorkstationId

メソッド

名前 説明
ConnectionParmsChanged() (継承元 SqlOlapConnectionInfoBase)
Copy()

ディープ コピー

CreateConnectionObject()

新しい IDbConnection 実装を返します。 呼び出し元は、関連付けられているアクセス トークンの有効期間が限られている可能性があるため、このオブジェクトを使用し、そのオブジェクトへの参照を短時間で解放する必要があります。

GetAuthenticationMethod(SqlConnectionStringBuilder)

SqlConnectionStringBuilder から認証値を取得し、SqlConnectionInfo.AuthenticationMethod に変換します

GetAuthenticationMethod(SqlConnectionStringBuilder)

SqlConnectionStringBuilder から認証値を取得し、SqlConnectionInfo.AuthenticationMethod に変換します

IsApplicationIntentKeywordSupported()

ランタイム環境で "ApplicationIntent" がサポートされているかどうかを確認します

IsAuthenticationKeywordSupported()

ランタイム環境で "認証" がサポートされているかどうかを確認します

ToString()

適用対象