SmtpNetworkElement.DefaultCredentials Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether or not default user credentials are used to access an SMTP server. The default value is 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
Property Value
true
indicates that default user credentials will be used to access the SMTP server; otherwise, false
.
- Attributes
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.