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)

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

SMTPConn(String, Boolean, Boolean)

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

プロパティ

AccessTokenProvider

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

(継承元 ConnectionManagerBase)
ConnectionDescription

ローカライズされた接続の説明を返します。

ConnectionDisplayName

ローカライズされた接続の表示名を返します。

ConnectionString

SMTP 接続の接続文字列を取得します。値の設定も可能です。

EnableSsl

電子メール メッセージの送信時に Secure Sockets Layer (SSL) を使用して通信を暗号化するかどうかを示すブール値を取得または設定します。

ProtectionLevel

DTSProtectionLevel 列挙を使用して値を取得します。値の設定も可能です。この列挙を使用すると、接続で機密情報を制御する方法を強制できます。

(継承元 ConnectionManagerBase)
Scope

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

(継承元 ConnectionManagerBase)
SmtpServer

SMTP サーバーへの接続に使用する名前を取得します。値の設定も可能です。

SupportsDTCTransactions

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

(継承元 ConnectionManagerBase)
TargetServerVersion

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

(継承元 ConnectionManagerBase)
Timeout

接続によるタイムアウト要求を取得します。値の設定も可能です。

UseWindowsAuthentication

Windows 認証を使用して SMTP サーバーにアクセスするかどうかを示すブール型 (Boolean) の値を取得または設定します。

Version

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

(継承元 ConnectionManagerBase)

メソッド

AcquireConnection(Object)

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

CanUpdate(String)

接続マネージャーが接続 XML の新しいバージョンへのアップグレードをサポートするかどうかを決定するブール型 (Boolean) の値を取得または設定します。

(継承元 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)

適用対象