SmtpNetworkElement.DefaultCredentials Propiedad

Definición

Determina si se utilizan las credenciales de usuario predeterminadas para obtener acceso a un servidor SMTP. El valor predeterminado es 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 de propiedad

El valor true indica que se utilizarán las credenciales de usuario predeterminadas para obtener acceso al servidor SMTP; de lo contrario, el valor es false.

Atributos

Se aplica a

Consulte también