SPWebService.SMTPTimeout property
Timeout for SMTP server
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property SMTPTimeout As TimeSpan
Get
Set
'Usage
Dim instance As SPWebService
Dim value As TimeSpan
value = instance.SMTPTimeout
instance.SMTPTimeout = value
public TimeSpan SMTPTimeout { get; set; }
Property value
Type: System.TimeSpan
Returns TimeSpan.