SmtpSection.DeliveryMethod Propriedade

Definição

Obtém ou define o método de entrega SMTP.Gets or sets the Simple Mail Transport Protocol (SMTP) delivery method. O método de entrega padrão é Network.The default delivery method is 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=Mono.Cecil.CustomAttributeArgument)]
public System.Net.Mail.SmtpDeliveryMethod DeliveryMethod { get; set; }
[<System.Configuration.ConfigurationProperty("deliveryMethod", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.DeliveryMethod : System.Net.Mail.SmtpDeliveryMethod with get, set
Public Property DeliveryMethod As SmtpDeliveryMethod

Valor da propriedade

SmtpDeliveryMethod

Uma cadeia de caracteres que representa o método de entrega SMTP.A string that represents the SMTP delivery method.

Atributos

Comentários

Os valores válidos para essa propriedade são Network , PickupDirectoryFromIis e SpecifiedPickupDirectory .Valid values for this property are Network, PickupDirectoryFromIis, and SpecifiedPickupDirectory. Esses valores têm subitens configuráveis e têm uma seção correspondente no System.Net arquivo de configuração.These values have configurable sub-items and have a corresponding section in the System.Net configuration file. Todas as seções são camel-case, para permitir que os usuários correspondam ao método de entrega com seus nomes de seção correspondentes.All the sections are camel-cased, to allow the users to match the delivery method with their corresponding section names.

Aplica-se a

Confira também