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 배달 방법을 나타내는 문자열입니다.

특성

설명

이 속성의 유효한 값은 , PickupDirectoryFromIisSpecifiedPickupDirectory입니다Network. 이러한 값에는 구성 가능한 하위 항목이 있으며 구성 파일에 해당 섹션이 System.Net 있습니다. 모든 섹션은 사용자가 배달 방법을 해당 섹션 이름과 일치시킬 수 있도록 카멜 대/소문자를 지정합니다.

적용 대상

추가 정보