共用方式為


SPIncomingEmailService.UseAutomaticSettings property

取得或設定 Boolean 值,指定 [內送電子郵件設定是否自動收集從預設的網際網路資訊服務 (IIS) 簡易郵件傳送通訊協定 (SMTP) 執行個體。

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

Syntax

'宣告
Public Property UseAutomaticSettings As Boolean
    Get
    Set
'用途
Dim instance As SPIncomingEmailService
Dim value As Boolean

value = instance.UseAutomaticSettings

instance.UseAutomaticSettings = value
public bool UseAutomaticSettings { get; set; }

Property value

Type: System.Boolean
true自動從預設 IIS SMTP 執行個體 ; 收集內送電子郵件設定否則,請false。

請參閱

參照

SPIncomingEmailService class

SPIncomingEmailService members

Microsoft.SharePoint.Administration namespace