Condividi tramite


SPIncomingEmailService.SmtpInstanceId property

Gets or sets the ID of the Internet Information Services (IIS) Simple Mail Transfer Protocol (SMTP) instance to configure with IP security settings.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property SmtpInstanceId As Integer
    Get
    Set
'Usage
Dim instance As SPIncomingEmailService
Dim value As Integer

value = instance.SmtpInstanceId

instance.SmtpInstanceId = value
public int SmtpInstanceId { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the ID of the SMTP instance.

See also

Reference

SPIncomingEmailService class

SPIncomingEmailService members

Microsoft.SharePoint.Administration namespace