共用方式為


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)
Available in Sandboxed Solutions: No

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