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
)
參數
web
Type: Microsoft.SharePoint.SPWebMicrosoft.SharePoint.SPWeb物件,代表該網站。
傳回值
Type: System.Boolean
true如果已經設定電子郵件伺服器 ;否則,請false。