言語

SMOServerConn クラス

定義

SMO接続で使用される手法とプロパティを含みます。

public ref class SMOServerConn : Microsoft::SqlServer::Dts::Runtime::ConnectionManagerBase, Microsoft::SqlServer::Dts::Runtime::IDTSComponentPersist
[Microsoft.SqlServer.Dts.Runtime.DtsConnection(ConnectionContact="Microsoft Corporation", ConnectionType="SMOServer", LocalizationType=typeof(Microsoft.SqlServer.Dts.ManagedConnections.SMOServerConn), UITypeName="Microsoft.DataTransformationServices.Design.SMOServerConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public class SMOServerConn : Microsoft.SqlServer.Dts.Runtime.ConnectionManagerBase, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist
[Microsoft.SqlServer.Dts.Runtime.DtsConnection(ConnectionContact="Microsoft Corporation", ConnectionType="SMOServer", LocalizationType=typeof(Microsoft.SqlServer.Dts.ManagedConnections.SMOServerConn), UITypeName="Microsoft.DataTransformationServices.Design.SMOServerConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public class SMOServerConn : Microsoft.SqlServer.Dts.Runtime.ConnectionManagerBase, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist
[Microsoft.SqlServer.Dts.Runtime.DtsConnection(ConnectionContact="Microsoft Corporation", ConnectionType="SMOServer", LocalizationType=typeof(Microsoft.SqlServer.Dts.ManagedConnections.SMOServerConn), UITypeName="Microsoft.DataTransformationServices.Design.SMOServerConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public class SMOServerConn : Microsoft.SqlServer.Dts.Runtime.ConnectionManagerBase, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsConnection(ConnectionContact="Microsoft Corporation", ConnectionType="SMOServer", LocalizationType=typeof(Microsoft.SqlServer.Dts.ManagedConnections.SMOServerConn), UITypeName="Microsoft.DataTransformationServices.Design.SMOServerConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
type SMOServerConn = class
    inherit ConnectionManagerBase
    interface IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsConnection(ConnectionContact="Microsoft Corporation", ConnectionType="SMOServer", LocalizationType=typeof(Microsoft.SqlServer.Dts.ManagedConnections.SMOServerConn), UITypeName="Microsoft.DataTransformationServices.Design.SMOServerConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
type SMOServerConn = class
    inherit ConnectionManagerBase
    interface IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsConnection(ConnectionContact="Microsoft Corporation", ConnectionType="SMOServer", LocalizationType=typeof(Microsoft.SqlServer.Dts.ManagedConnections.SMOServerConn), UITypeName="Microsoft.DataTransformationServices.Design.SMOServerConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
type SMOServerConn = class
    inherit ConnectionManagerBase
    interface IDTSComponentPersist
Public Class SMOServerConn
Inherits ConnectionManagerBase
Implements IDTSComponentPersist
継承
属性
実装

コンストラクター

名前 説明
SMOServerConn()

SMOServerConnクラスの新しいインスタンスを初期化します。

SMOServerConn(Boolean, String, String, String)

SMOServerConnクラスの新しいインスタンスを初期化し、認証モード、ユーザー名、パスワード、サーバーを初期化します。

SMOServerConn(Boolean, String, String)

SMOServerConnクラスの新しいインスタンスを初期化し、認証モード、ユーザー名、パスワードを初期化します。

プロパティ

名前 説明
AccessTokenProvider

接続取得時に使用するアクセストークンプロバイダーを取得するか設定します。

(継承元 ConnectionManagerBase)
ConnectionDescription

SMO接続の接続マネージャーの説明を取得します。

ConnectionDisplayName

接続のローカライズされたディスプレイネームを返します。

ConnectionString

SMO接続の接続文字列を取得したり設定したりします。

Password

Windows認証を使わない場合、接続のパスワードを設定します。

ProtectionLevel

DTSProtectionLevel列挙を用いて値を取得したり設定したりし、接続が機密情報を制御する方法を強制します。

(継承元 ConnectionManagerBase)
Scope

この ConnectionManagerBase オブジェクトのDTS接続マネージャースコープを取得します。

(継承元 ConnectionManagerBase)
SqlServerName

SMO接続をしたいSQL Serverの名前を含む文字列を取得したり設定したりします。

SupportsDTCTransactions

接続がMicrosoft 分散トランザクション コーディネーター(MS DTC)トランザクションをサポートしているかどうかを示すブール値を返します。

(継承元 ConnectionManagerBase)
TargetServerVersion

SMO接続で使用される手法とプロパティを含みます。

(継承元 ConnectionManagerBase)
UserName

Windows認証を使わない場合、接続のユーザー名を取得したり設定したりします。

UseWindowsAuthentication

接続にWindows認証が使われているかどうかを示すブール値を取得または設定します。

Version

この接続マネージャーのバージョンを返します。

(継承元 ConnectionManagerBase)

メソッド

名前 説明
AcquireConnection(Object)

SMO接続を確立し、接続オブジェクトを返します。

CanUpdate(String)

接続管理者が接続XMLを新しいバージョンにアップグレードするかどうかを判断するブール値を取得または設定します。

(継承元 ConnectionManagerBase)
Equals(Object)

2 つのオブジェクト インスタンスが等しいかどうかを判断します。

(継承元 DtsObject)
GetHashCode()

このインスタンスのハッシュ コードを返します。

(継承元 DtsObject)
LoadFromXML(XmlElement, IDTSInfoEvents)

このメソッドはアプリケーションコードでは呼び出せません。 .xmlとして保存されたパッケージを読み込むには、 LoadPackage(String, IDTSEvents) メソッドを使います。

ReleaseConnection(Object)

AcquireConnection(Object)中に確立された接続を解放します。 設計時と実行時に呼び出しました。

(継承元 ConnectionManagerBase)
SaveToXML(XmlDocument, IDTSInfoEvents)

このメソッドはアプリケーションコードでは呼び出せません。 パッケージを .xmlとして保存するには、 SaveToXml(String, Package, IDTSEvents) メソッドを使います。

SetQualifier(String)

接続マネージャーが作成された後、実行される前に接続マネージャーの修飾子を変更します。

(継承元 ConnectionManagerBase)
Update(String)

接続マネージャーの以前のバージョンで永続化されたXMLを更新します。

(継承元 ConnectionManagerBase)
Validate(IDTSInfoEvents)

接続を検証し、成功または失敗を示す列挙を返します。

(継承元 ConnectionManagerBase)

適用対象