SmtpNetworkElement.DefaultCredentials Propriedade

Definição

Determina se as credenciais de usuário padrão são usadas ou não para acessar um servidor SMTP. O valor padrão é false.

public:
 property bool DefaultCredentials { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("defaultCredentials", DefaultValue=false)]
public bool DefaultCredentials { get; set; }
[<System.Configuration.ConfigurationProperty("defaultCredentials", DefaultValue=false)>]
member this.DefaultCredentials : bool with get, set
Public Property DefaultCredentials As Boolean

Valor da propriedade

true indica que as credenciais de usuário padrão serão usadas para acessar o servidor SMTP; caso contrário, false.

Atributos

Aplica-se a

Confira também