次の方法で共有


SPList.ServerTemplateCanReceiveEmail method

Gets whether the specified list template and website support receiving email.

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

Syntax

'Declaration
Public Shared Function ServerTemplateCanReceiveEmail ( _
    templateType As SPListTemplateType, _
    web As SPWeb _
) As Boolean
'Usage
Dim templateType As SPListTemplateType
Dim web As SPWeb
Dim returnValue As Boolean

returnValue = SPList.ServerTemplateCanReceiveEmail(templateType, _
    web)
public static bool ServerTemplateCanReceiveEmail(
    SPListTemplateType templateType,
    SPWeb web
)

Parameters

Return value

Type: System.Boolean
true if the list template and website support receiving email; otherwise, false.

Remarks

Meeting workspace sites cannot receive email.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace