SmtpSection.DeliveryMethod プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
SMTP (Simple Mail Transport Protocol) の配信方法を取得または設定します。 既定の配信メソッドは Network です。
public:
property System::Net::Mail::SmtpDeliveryMethod DeliveryMethod { System::Net::Mail::SmtpDeliveryMethod get(); void set(System::Net::Mail::SmtpDeliveryMethod value); };
[System.Configuration.ConfigurationProperty("deliveryMethod", DefaultValue=System.Net.Mail.SmtpDeliveryMethod.Network)]
public System.Net.Mail.SmtpDeliveryMethod DeliveryMethod { get; set; }
[System.Configuration.ConfigurationProperty("deliveryMethod", DefaultValue="Network")]
public System.Net.Mail.SmtpDeliveryMethod DeliveryMethod { get; set; }
[<System.Configuration.ConfigurationProperty("deliveryMethod", DefaultValue=System.Net.Mail.SmtpDeliveryMethod.Network)>]
member this.DeliveryMethod : System.Net.Mail.SmtpDeliveryMethod with get, set
[<System.Configuration.ConfigurationProperty("deliveryMethod", DefaultValue="Network")>]
member this.DeliveryMethod : System.Net.Mail.SmtpDeliveryMethod with get, set
Public Property DeliveryMethod As SmtpDeliveryMethod
プロパティ値
SMTP 配信メソッドを表す文字列。
- 属性
注釈
このプロパティの有効な値は Network 、、、 PickupDirectoryFromIis および SpecifiedPickupDirectory です。 これらの値には構成可能なサブ項目があり、構成ファイルに対応するセクションがあり System.Net ます。 すべてのセクションは camel 形式であり、ユーザーが配信方法と対応するセクション名を照合できるようにします。