SMTPConn クラス

定義

SMTP接続で使用されるメソッドとプロパティを含みます。

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

コンストラクター

名前 説明
SMTPConn()

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

SMTPConn(String, Boolean, Boolean)

SMTPConnクラスの新しいインスタンスを初期化し、SMPTサーバー名、Windows認証、Secure Sockets Layerの設定を初期化します。

SMTPConn(String)

SMTPConnクラスの新しいインスタンスを初期化し、SMPTサーバー名を初期化します。

プロパティ

名前 説明
AccessTokenProvider

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

(継承元 ConnectionManagerBase)
ConnectionDescription

接続の局所的な記述を返します。

ConnectionDisplayName

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

ConnectionString

SMTP接続の接続文字列を取得するか設定します。

EnableSsl

メール送信時にSecure Sockets Layer(SSL)で通信を暗号化するかを示すブール値を取得または設定します。

ProtectionLevel

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

(継承元 ConnectionManagerBase)
Scope

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

(継承元 ConnectionManagerBase)
SmtpServer

SMTPサーバーに接続する名前を取得するか設定します。

SupportsDTCTransactions

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

(継承元 ConnectionManagerBase)
TargetServerVersion

SMTP接続で使用されるメソッドとプロパティを含みます。

(継承元 ConnectionManagerBase)
Timeout

接続から出されたタイムアウトリクエストを受け取るか設定します。

UseWindowsAuthentication

Windows認証でSMTPサーバーにアクセスするかどうかを示すブール値を取得または設定します。

Version

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

(継承元 ConnectionManagerBase)

メソッド

名前 説明
AcquireConnection(Object)

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

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)

適用対象