SmtpSection.DeliveryMethod プロパティ

定義

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

プロパティ値

SmtpDeliveryMethod

SMTP 配信メソッドを表す文字列。

属性

注釈

このプロパティの有効な値は Network 、、、 PickupDirectoryFromIis および SpecifiedPickupDirectory です。 これらの値には構成可能なサブ項目があり、構成ファイルに対応するセクションがあり System.Net ます。 すべてのセクションは camel 形式であり、ユーザーが配信方法と対応するセクション名を照合できるようにします。

適用対象

こちらもご覧ください