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=System.Net.Mail.SmtpDeliveryMethod.Network)>]
member this.DeliveryMethod : System.Net.Mail.SmtpDeliveryMethod with get, set
Public Property DeliveryMethod As SmtpDeliveryMethod

속성 값

SMTP 배달 방법을 나타내는 문자열입니다.

특성

설명

이 속성에 유효한 값은 Network, PickupDirectoryFromIisSpecifiedPickupDirectory. 이러한 값에는 구성 가능한 하위 항목이 있으며 구성 파일에 해당 섹션이 System.Net 있습니다. 모든 섹션은 사용자가 배달 방법을 해당 섹션 이름과 일치시킬 수 있도록 낙타로 구분됩니다.

적용 대상

추가 정보