共用方式為


SPUtility.IsEmailServerSet method

會傳回 Boolean 值,指定網站是否已設定電子郵件伺服器。

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

Syntax

'宣告
Public Shared Function IsEmailServerSet ( _
    web As SPWeb _
) As Boolean
'用途
Dim web As SPWeb
Dim returnValue As Boolean

returnValue = SPUtility.IsEmailServerSet(web)
public static bool IsEmailServerSet(
    SPWeb web
)

參數

傳回值

Type: System.Boolean
true如果已經設定電子郵件伺服器 ;否則,請false。

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace